Data Structures and Other Objects Using JavaMichael Main's gentle approach to data structures and objects has introduced thousands of beginning programmers to foundational data structures using the practical Java language. This Third Edition makes the most of the enhancements and advantages of Java 5.0 including the use of generic data types. An early group of chapters reviews the key aspects of object-oriented programming giving students the foundation for understanding significant programming concepts. With this framework they are able to accomplish writing functional data structures by using a five-step method for working with data types; understanding the data type abstractly, writing a specification, using the data type, designing and implementing the data type, and analyzing the implementation. Students learn to think analytically about the efficiency and efficacy of design while gaining exposure to useful Java classes libraries. The flexibility of Data Structures and Other Objects Using Java allows instructors to structure their course around a certain emphasis, such as early coverage of recursion and sorting, or to accelerate the pace of the course. |
From inside the book
Results 1-3 of 75
... 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 : Another String ...
... ( String [ ] args ) { final int WORDS_PER_BAG = 4 ; // Number of items per bag final int MANY SENTENCES 3 ; // Number of sentences in story = ArrayBag < String > good = new ArrayBag < String > ( WORDS_PER_BAG ) ; ArrayBag < String > bad ...
... String answer ; System.out.print ( prompt + " [ Y or N ] : " ) ; answer = stdin.nextLine ( ) . toUpperCase ... String ROOT QUESTION = " Are you a mammal ? " ; final String LEFT QUESTION = " Are you bigger than a cat ? " ; final String ...
Contents
CHAPTER | 2 |
The Phases of Software Development | 4 |
CHAPTER CONTENTS | 13 |
Copyright | |
62 other sections not shown