Question 16
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.)
Question 17
Given a Memberclass with fields for nameand yearsMembership, including getters and setters and a print method, and a list of clubMembersmembers:

Which two Stream methods can be changed to use method references? (Choose two.)

Which two Stream methods can be changed to use method references? (Choose two.)
Question 18
Given:

Which would cause s to be AQCD?

Which would cause s to be AQCD?
Question 19
Given:

and:

Which code, when inserted on line 10, prints the number of unique localities from the roster list?

and:

Which code, when inserted on line 10, prints the number of unique localities from the roster list?
Question 20
Given:

Which code, when inserted at one or more marked positions, would allow classes B and C to compile?

Which code, when inserted at one or more marked positions, would allow classes B and C to compile?