Want to pass your Java Foundations 1Z0-811 exam in the very first attempt? Try Pass2lead! It is equally effective for both starters and IT professionals.
VCE
Which two statements are true about the Java Runtime Environment (JRE)?
A. It is responsible for garbage collection.
B. It interprets bytecode stored in a .class file.
C. It contains the JDK and Java APIs.
D. It is platform independent.
E. You must install the JRE to compile a .java file.
Which statement is valid?
A. int 2 totalScore = 0;
B. int total-score = 0;
C. int totalScore2 = 0;
D. int total score = 0;
Given the code fragment:
What is the result?
A. A compilation error occurs at line n1.
B. Jack
C. The program prints either Jack or Queen.
D. Queen