Question 101
Given the code fragment:
What is the output?
Question 102
Given:
What is the type of the local variable x?
Question 103
Given:
List<String> list1 = new ArrayList<>();
list1.add("A");
list1.add("B");
List list2 = List.copyOf(list1);
list2.add("C");
List<List<String>> list3 = List.of(list1, list2);
System.out.println(list3);
What is the result?
Question 104
Given:
Which two lines cause compilation errors? (Choose two.)
Question 105
Given the code fragment:
What is the output?

