Chapter 5. Nested Classes

Terms you'll need to understand:

  • Nested class

  • Inner class

  • Member class

  • Local class

  • Anonymous inner class

  • final local variable

Techniques you'll need to master:

  • Distinguishing among the various types of nested classes and how they are used

  • Distinguishing among the various ways that references to nested class objects are named

  • Writing a constructor for each of the different types of nested class

  • Distinguishing among the characteristics of variables that nested classes are allowed to use

Get Java 2™ Programmer Exam Cram™ 2 (Exam CX-310-035) 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.