Data Structures & Other Objects Using Java
This book takes a gentle approach to the data structures course in Java. It offers an early, self-contained review of object-oriented programming and Java to give students a firm grasp of key concepts, and allows those experienced in other languages to adjust easily. The book also offers a flexibility which allows professors such options as emphasizing object-oriented programming, covering recursion and sorting early or accelerating the pace of the course. This title meets the needs of professors searching for a book to balance the introduction of object-oriented programming and data structures with Java.
Results 1-3 of 84
head FIGURE 4.3 Linked List with the Null Reference at the Final Link The Null
Reference Figure 4.3 illustrates a linked list with a reference to the head node
and one new feature. Look at the link part of the final node. Instead of a reference
There are two pitfalls to beware. First, beware of null references. You cannot
activate the equal s method of a null reference. For example, here is the
implementation of the new listSearch method from the Node. The method
searches the linked ...
listPart public static Node[ ] listPart (Node start, Node end) Copy part of a list,
providing a head and tail reference for the new copy. Parameters: start and end -
references to two nodes of a linked list Precondition: start and end are non-null ...
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown