Java 8 Questions for Oracle Certified Associate
Java SE 8 Programmer 1 correctly answered
(updated) already passed
1. What year was the Java programming created 1995
2. What does
OCA
stand for
Oracle
Certified
Associate
3.
What are the 2 tests for Java developers
provided by Oracle
OCA and OCP
4.
The full declaration of a method is called the method
signature
5.
True or False - can you add a multiline comment within
false
a multiline comment?
6.
How many public classes can be added to a single file 1
7. Write the syntax for the main method.
public static
void
main(String[]
args)
8. When you compile a Java class what file type extension .class
is output?
9. What does a .class file contain
bytecode
10. True or false, what creating a public Java class in a
file true
does the case used in the file name have
to match the case used by the Java class name?
11.
In a method declaration, the public,
protected and private declarations are
called
what?