1.1. The structures of a Java class and a source code file

[1.2] Define the structure of a Java class

Note

When you see a certification objective callout such as the preceding one, it means that in this section we’ll cover this objective. The same objective may be covered in more than one section in this chapter or in other chapters.

This section covers the structures and components of both a Java source code file (.java file) and a Java class (defined using the keyword class). It also covers the differences between a Java source code file and a Java class.

First things first. Start your exam preparation with a clear understanding of what’s required from you in the certification exam. For example, try to ...

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.