Question 131
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"?
Question 132
Given:
executed using command:
java Hello "Hello World" Hello World
What is the output?
Question 133
Given:
What code must you insert on Line 1 to enable the code to print Hello world?
Question 134
Given:
Why does D cause a compilation error?
Question 135
Given:
executed using command:
java Hello "Hello World" Hello World
What is the output?
