Given: List<String> longlist = List.of("Hello","World","Beat"); List<String> shortlist = new ArrayList<>(); Which code fragment correctly forms a short list of words containing the letter "e"?
Assuming the Widget class has a getPrice method, this code does not compile: Which two statements, independently, would allow this code to compile? (Choose two.)