Download Oracle.1z0-815.VCEplus.2019-12-17.80q.vcex

Download Exam

File Info

Exam Java SE 11 Programmer I
Number 1z0-815
File Name Oracle.1z0-815.VCEplus.2019-12-17.80q.vcex
Size 7 MB
Posted Dec 17, 2019
Download Oracle.1z0-815.VCEplus.2019-12-17.80q.vcex

How to open VCEX & EXAM Files?

Files with VCEX & EXAM extensions can be opened by ProfExam Simulator.

Purchase

Coupon: MASTEREXAM
With discount: 20%






Demo Questions

Question 1

Given:
What is the result?


  1. nothing
  2. It fails to compile.
  3. 0
  4. A java.lang.IllegalArgumentException is thrown.
  5. 10
Correct answer: B



Question 2

Given: 
Which two changes need to be made to make this class compile? (Choose two.)


  1. Change Line 1 to an abstract class:public abstract class API {
  2. Change Line 2 access modifier to protected:
    protected void checkValue(Object value) 
    throws IllegalArgumentException;
  3. Change Line 1 to a class:
    public class API {
  4. Change Line 1 to extend java.lang.AutoCloseable:
    public interface API extends AutoCloseable { 
  5. Change Line 2 to an abstract method:
    public abstract void checkValue(Object value) 
    throws IllegalArgumentException;
Correct answer: CE



Question 3

Which two modules include APIs in the Java SE Specification? (Choose two.)


  1. java.logging
  2. java.desktop
  3. javafx
  4. jdk.httpserver
  5. jdk.jartool
Correct answer: AD
Explanation:
Reference: https://docs.oracle.com/javase/9/docs/api/overview-summary.html
Reference: https://docs.oracle.com/javase/9/docs/api/overview-summary.html



Question 4

Given:
What is the output?


  1. 300
  2. Exception
  3. 200
  4. 100
Correct answer: A



Question 5

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.
Correct answer: AB



Question 6

Given the code fragment: 
What is the result?


  1. -1 : 2
  2. 2 : -1
  3. 2 : 3
  4. 3 : 0
Correct answer: A



Question 7

Given:
What is the result?


  1. The compilation fails.
  2. abdf
  3. abd
  4. adf
  5. abcd
Correct answer: A



Question 8

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
Correct answer: C
Explanation:
Reference: https://blogs.oracle.com/jtc/automating-the-creation-of-jdk9-reduced-runtime-images-in-netbeans
Reference: https://blogs.oracle.com/jtc/automating-the-creation-of-jdk9-reduced-runtime-images-in-netbeans



Question 9

Given:
What is the result?


  1. 4
  2. 3
  3. An exception is thrown at runtime.
  4. 5
Correct answer: D



Question 10

Given: 
It is required that if pinstanceof Pair then p.isValid() returns true.
Which is the smallest set of visibility changes to insure this requirement is met?


  1. setLeft and setRight must be protected.
  2. left and right must be private.
  3. isValid must be public.
  4. left, right, setLeft, and setRight must be private.
Correct answer: B









CONNECT US

Facebook

Twitter

PROFEXAM WITH A 20% DISCOUNT

You can buy ProfExam with a 20% discount!



HOW TO OPEN VCEX FILES

Use ProfExam Simulator to open VCEX files