Free Oracle 1Z0-819 Exam Questions (page: 3)

Which two statements are true about the modular JDK? (Choose two.)

  1. The foundational APIs of the Java SE Platform are found in the java.base module.
  2. An application must be structured as modules in order to run on the modular JDK.
  3. It is possible but undesirable to configure modules' exports from the command line.
  4. APIs are deprecated more aggressively because the JDK has been modularized.

Answer(s): A,C



Given the code fragment:



What is the result?

  1. -1 : 2
  2. 2 : -1
  3. 2 : 3
  4. 3 : 0

Answer(s): B



Given:



What is the result?

  1. The compilation fails.
  2. abdf
  3. abd
  4. adf
  5. abcd

Answer(s): E



Which set of commands is necessary to create and run a custom runtime image from Java source files?

  1. java, jdeps
  2. javac, jlink
  3. jar, jlink
  4. javac, jar

Answer(s): B


Reference:

https://blogs.oracle.com/jtc/automating-the-creation-of-jdk9-reduced-runtime-images- in-netbeans






Post your Comments and Discuss Oracle 1Z0-819 exam prep with other Community members:

1Z0-819 Exam Discussions & Posts