14.2 Linked Lists of Objects
Our next step is to design and code a linked list of objects, for example, Player objects, described earlier in the chapter.
Since each node in our list will store a Player reference, we start by defining our Player class, shown in Example 14.4.
Get Java Illuminated, 5th 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.