1.8. Review notes
This section lists the main points covered in this chapter.
The structure of a Java class and source code file:
- The OCA Java SE 8 Programmer I exam covers the structure and components of a Java class and Java source code file (.java file). It doesn’t cover the structure and components of Java bytecode files (.class files).
- A class can define multiple components. All the Java components you’ve heard of can be defined within a Java class: import and package statements, variables, constructors, methods, comments, nested classes, nested interfaces, annotations, and enums.
- This exam doesn’t cover the definitions of nested classes, nested interfaces, annotations, and enums.
- If a class defines a package statement, it should be the ...
Get OCA Java SE 8 Programmer I Certification Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.