Preparation for OCA JAVA SE 8 PROGRAMMER I (1Z0 808) Certification - ilya-khadykin/notes-outdated GitHub Wiki
Then Oracle made two strategic decisions with Java 7. They decided to stop updating the OCJA exam. They also decided to cover more on in the programmer space and split it into two exams. Now you first take the OCAJP (Oracle Certified Associate Java Programmer), also known as Java Programmer I, or OCA. That's what this book is about. Then you take the OCPJP (Oracle Certified Professional Java Programmer), also known as Java Programmer II, or OCP.
The Exam itself
The OCA exam has varied between 60 and 90 questions since it was introduced. The score to pass has varied between 60 percent and 80 percent. The time allowed to take the exam has varied from two hours to two-and-a-half hours. The OCA exam consists of multiple-choice questions. There are typically five or six possible answers. If a question has more than one answer, the question specifically states exactly how many correct answers there are.
How to pass an exam
- Buy a voucher from Oracle
- Find a certification center (Pearson VUE) and schedule the exam
Learning Resources
Scope of variables
TODO
package and import Statements
package
statement:
- The
java.lang
package that houses the core language classes is imported by default. - If a class includes a
package
statement that does not map to the relative directory structure, the class will not be usable. - The package names beginning with
java.*
andjavax.*
are reserved. - Package names should be lowercase. Individual words within the package name should be separated by underscores.
- Oracle includes more than 200 packages in the Java SE 8 API
import
statement:
import java.net.*;
static import
statements allow you to import static members of a class(es)