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 85
A single bag can hold references to a String or a Location or any other kind of
object that may be invented in the future. In fact, as the programmer who writes
these collection classes, we don't need to know exactly what the underlying
As far as the compiler knows, obj could refer to anything — it does not have to
refer to a String, so the compiler forbids s = obj . The way around the restriction is
to use the extra expression shown here: s = (String) obj; The expression (String) ...
Write a method with two parameters, prefix (a string) and levels (a non- negative
integer). The method prints the string prefix followed by "section numbers" of the
form 1.1., 1.2., 1.3., and so on. The levels argument determines how many levels
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown