Chapter 4, “Declarations and Access Control”

Variable modifiers include the access modifiers—public, protected, and private—and the special modifiers—final, static, transient, and volatile.

Arrays are Java objects.

Technically, Java arrays are all one-dimensional arrays. Two-dimensional arrays are arrays of arrays. However, the syntax makes them easy to use; for example, employee[2][1][3] references a specific employee within a three-dimensional array.

Objects are created using the new operator and the constructor of the object's class.

The this keyword refers to the object whose method is being executed or constructed.

The super keyword refers to the superclass of the current object instance.

Local variables can only specify the final modifier. ...

Get Sun Certification Training Guide (310-025, 310-027): Java™ 2 Programmer and Developer Exams 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.