Question 156

Your organization makes mlib.jar available to your cloud customers. While working on a new feature for mlib.jar, you see that the customer visible method public void enableService(String hostName, String portNumber) executes this code fragment

and you see this grant is in the security policy file:

What security vulnerability does this expose to your cloud customer's code?
  • Question 157

    Given an application with a main module that has this module-info.java file:

    Which two are true? (Choose two.)
  • Question 158

    Given:

    Which loop incurs a compile time error?
  • Question 159

    Given the code fragment:

    What is the result?
  • Question 160

    Given the code fragment:

    What is the result?