Question 21

Given:

What is the result?
  • Question 22

    Which command line runs the main class com.acme.Main from the module com.example?
  • Question 23


    How many Thing objects are eligible for garbage collection in line 1?
  • Question 24

    You are working on a functional bug in a tool used by your development organization. In your investigation, you find that the tool is executed with a security policy file containing this grant.

    What action should you take?
  • Question 25

    Why would you choose to use a peek operation instead of a forEach operation on a Stream?