Question 1
Given:

What is the result?
Given:

What is the result?
Which interface in the java.util.function package can return a primitive type?
Given:

What is the result?
Given:

Which code fragment on line 1 makes the m map contain the employee with the highest salary for each neighborhood?
A)
![]()
B)
![]()
C)
![]()
D)

Given the code fragment:

What is the result?
Given:

What is the result?
Given:

What is the result?
Given:

You want to obtain the Stream object on reading the file. Which code inserted on line 1 will accomplish this?
Given:

What is the type of the local variable x?
Which two commands are used to identify class and module dependencies? (Choose two.)
Your organization makes mlib.jar available to your cloud customers. While working on a code cleanup project for mlib.jar, you see this method by customers:

What security measures should be added to this method so that it meets the requirements for a customer accessible method?
A.

Given the code fragment:

You want to display the value of currency as $100.00.
Which code inserted on line 1 will accomplish this?
What change will cause the code to compile successfully?
Given:

and

Which code fragment on line 1 makes the s1 set contain the names of all employees born before January 1, 1989?

Given:

What is the result?
A)
![]()
B)

C)
![]()
D)
