Section 21.2 Self-Referential Classes

• A self-referential class (p. 871) contains a reference that refers to another object of the same class type. Self-referential objects can be linked together to form dynamic data structures.

Get Java™ How To Program (Early Objects), Tenth Edition 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.