1

Declarations and Access Control

CERTIFICATION OBJECTIVES

    •    Identifiers and Keywords

    •    javac, java, main(), and Imports

    •    Declare Classes and Interfaces

    •    Declare Class Members

    •    Declare Constructors and Arrays

    •    Create static Class Members

    •    Use enums

    image  Two-Minute Drill

Q&A Self Test

We assume that because you’re planning on becoming certified, you already know the basics of Java. If you’re completely new to the language, this chapter—and the rest of the book—will be confusing; so be sure you know at least the basics of the language before diving into this book. That said, we’re starting ...

Get OCA/OCP Java SE 7 Programmer I & II Study Guide (Exams 1Z0-803 & 1Z0-804) 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.