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 83
We could now use l i stCopy to make a second copy of this list: copy = IntNode. li
stCopy (shortLi st) ; At this point, we have two separate lists: 20 null shortList null
copy Keep in mind that l i stCopy is a static method, so we must write the ...
The l i stCopyWi thTai l makes a copy of a list, but the return value is more than a
head reference for the copy. Instead, the return value is an array with two
components. The  component of the array contains the head reference for the
new list ...
(FIGURE 4.11 continued) ♢ listCopy public static IntNode listCopy (IntNode
source) Copy a list. Parameters: source - the head reference for a linked list that
will be copied (which may be an empty list where source is null) Returns: The
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown