Oracle 1Z0-811 Certification Sample Questions and Answers

1Z0-811 PDF, 1Z0-811 Dumps PDF Free Download, 1Z0-811 Latest Dumps Free PDF, Java Foundations PDF DumpsThe Oracle Java Foundations (1Z0-811) Sample Question Set is designed to help you prepare for the Java Certified Foundations Associate certification exam. To become familiar with the actual Oracle Certification exam environment, we suggest you try our Sample Oracle 1Z0-811 Certification Practice Exam.

This Oracle Java Foundations certification sample practice test and sample question set are designed for evaluation purposes only. If you want to test your Oracle 1Z0-811 knowledge to identify your areas of improvement and get familiar with the actual exam format, we suggest you prepare with the Premium Java Certified Foundations Associate Certification Practice Exam. Our team of Oracle Java SE experts has designed Questions-Answers for this premium practice exam by collecting inputs from recently certified candidates. Our premium Oracle 1Z0-811 certification practice exam will boost your confidence as well as your actual Oracle Certified Foundations Associate, Java exam result.

Oracle 1Z0-811 Sample Questions:

01. Which package would you import to use the Random class?
a) java.io
b) java.math
c) java.util
d) java.lang
 
02. You have been asked to develop a Java program that prints the elements of an array in reverse order. Which looping statement cannot be used to meet the requirement?
a) enhanced for
b) standard for
c) while
d) do-while
 
03. Identify three advantages of object-oriented programming.
a) separation of state and behavior
b) modularity
c) information sharing
d) code reuse
e) information hiding
 
04. 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.
 
05. Identify two features of Java.
a) platform independent
b) architecture dependent
c) single threaded
d) robust
 
06. Which two components can class declarations include?
a) A list of instance methods
b) The main method
c) Interfaces implemented by the class
d) The public modifier
 
07. Identify two valid data types for the operands of the addition (+) operator?
a) string
b) boolean
c) numeric
d) array
 
08. Which statement is true about primitive variables?
a) They can be compared with the == operator.
b) They can be compared with the equals method only.
c) They cannot be compared.
d) They can be compared with the compareTo method only.
 
09. What is the meaning of “write once, run anywhere” in Java?
a) Java programs are designed to run only in web browsers and, thus, can run wherever there is a browser.
b) It is a marketing statement because Java programs must be compiled for a specific platform in order to run.
c) Java programs can run on any Java Virtual Machine without being recompiled.
d) Java programs, after being compiled, can run on any platform or device even without a Java Virtual Machine.
 
10. Which statement is true about a mutator method?
a) It replaces the default constructor.
b) It returns mutated instance members.
c) It must be declared private.
d) It can be used to assign data to instance members.

Answers:

Question: 01

Answer: c

Question: 02

Answer: d

Question: 03

Answer: b, d, e

Question: 04

Answer: b, d

Question: 05

Answer: a, d

Question: 06

Answer: c, d

Question: 07

Answer: a, c

Question: 08

Answer: b

Question: 09

Answer: c

Question: 10

Answer: d

Rating: 4.9 / 5 (81 votes)