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 59
return answer; } The method returns the local variable, answer, which is a
Location object. This is allowed, even though the return type of the clone method
is Object. A Java Object may be anything except the eight primitive types. It might
This is the same as the start of the clone method for our Chapter 3 bag. As with
the Chapter 3 bag, this code uses the super. clone method to make answer be an
exact copy of the bag that activated the clone method. With the Chapter 3 bag, ...
Notice that within the implementations, the methods of the superclass can be
activated just like any other method. ... Vector. There are two other points that you
should notice about the new stack, involving the constructor and the clone
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown