Download Oracle.1z0-815.SelfTestEngine.2020-02-25.57q.vcex

Download Exam

File Info

Exam Java SE 11 Programmer I
Number 1z0-815
File Name Oracle.1z0-815.SelfTestEngine.2020-02-25.57q.vcex
Size 5 MB
Posted Feb 25, 2020
Download Oracle.1z0-815.SelfTestEngine.2020-02-25.57q.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
Explanation:
  
  



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
Explanation:
  
  



Question 5

Given:
  
What is the result?


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



Question 6

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 7

Given:
  
What is the result? 


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



Question 8

Given:
  
What is the result? 


  1. 5
  2. 3
  3. 23
  4. 25
  5. 11
Correct answer: B



Question 9

Given:
  
executed using this command:
java Myclass My Car is red 
What is the output of this class? 


  1. Car--red--My
  2. My--Car--is
  3. My--is--java
  4. java--Myclass--My
  5. Myclass--Car--red
Correct answer: B



Question 10

Given:
  
Which loop incurs a compile time error?


  1. the loop starting line 11
  2. the loop starting line 7
  3. the loop starting line 14
  4. the loop starting line 3
Correct answer: A









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