created: 04/21/2017; revisions: 04/10/2019, 07/04/2019

go to home page   go to next page

CHAPTER 130 — Linked List

This chapter introduces linked lists. In this chapter, the linked lists are created and maniuplated in main(). This is not how linked lists are usually used, but hopefully makes it easier to see how linked lists work.

The goal of the chapter is to explain the structure and logic of linked lists. In the future you will often design and implement your own data structures and will need to know how this is done. If you needed a linked list in a practical situation you would probably use the Java class LinkedList, part of the Java collections framework.

The next chapter shows a LinkedList object which encapsulates the operations of a linked list.

Chapter Topics:


QUESTION 1:

Can an object contain a reference to another object?

Can an object contain a reference to another object of the same class as itself?


go to home page   go to next page