Data Structures and Other Objects Using JavaThis 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. The new edition has been updated to cover Java 1.3 and includes new appendices with more reference material on such topics as Java collections. It also features increased coverage of object-oriented programming and inheritance. New exercises on radix sort and shell sort have also been added. |
From inside the book
Results 1-3 of 77
... shown here for the numbers sequence : for ( numbers.start ( ) ; numbers.isCurrent ( ) ; numbers.advance ( ) ) System.out.println ( numbers.getCurrent ( ) ) ; The addBefore and addAfter Methods . There are two methods to add a new ...
... shown here : String s = new String ( " Objection overruled ! " ) ; Object obj ; obj = S ; s = new String ( " Make it so . " ) ; At this point , s refers to a new string , and obj still refers to the original string , as shown here ...
... shown in this specification : play ( for the Animal - Guessing Program ) public static void play ( BTNode current ) Play one round of the animal - guessing game . Parameters : current - a reference to the root node of a binary taxonomy ...
Contents
CHAPTER | 2 |
LEARNING OBJECTIVES | 14 |
Java Classes and Information Hiding | 40 |
Copyright | |
44 other sections not shown