1Z0-819 Exam Question 171
var numbers = List.of(0,1,2,3,4,5,6,7,8,9);
You want to calculate the average of numbers. Which two codes will accomplish this? (Choose two.)
You want to calculate the average of numbers. Which two codes will accomplish this? (Choose two.)
1Z0-819 Exam Question 172
Which code is correct?
1Z0-819 Exam Question 173
Given:

Which two lines of code when inserted in line 1 correctly modifies instance variables? (Choose two.)

Which two lines of code when inserted in line 1 correctly modifies instance variables? (Choose two.)
1Z0-819 Exam Question 174
Given:

What is the result?

What is the result?
1Z0-819 Exam Question 175
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?
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?



