Declarations and Access Control


    •    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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.