Question 31
Given the code fragment:

What is the result?

What is the result?
Question 32
Given:

Which two interfaces can you use to create lambda expressions? (Choose two.)

Which two interfaces can you use to create lambda expressions? (Choose two.)
Question 33
Given:


Question 34
Given:

and the code fragment:

What is the result?

and the code fragment:

What is the result?
Question 35
Given the code fragment:
List<Integer> list1 = Arrays.asList(10, 20);
List<Integer> list2 = Arrays.asList(15, 30);
//line n1
Which code fragment, when inserted at line n1, prints 10 20 15 30?
List<Integer> list1 = Arrays.asList(10, 20);
List<Integer> list2 = Arrays.asList(15, 30);
//line n1
Which code fragment, when inserted at line n1, prints 10 20 15 30?
