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 86
... copy of this list : copy = IntNode.listCopy ( shortList ) ; Now we have two separate lists : shortList 10 20 20 null 10 20 20 null copy Keep in mind that listCopy is a static method , so we must write the expression IntNode.listCopy ...
... copy a list and obtain access to both the head and tail nodes of the copy . As an example , a program can create a small list and then create both a head and tail reference for the copy : IntNode shortList ; IntNode copyInfo ...
... copy ) if ( the next element of 1st half is < = the next element of the 2nd half ) { Copy the next element of 1st half to the next spot in temp . Add 1 to both copied and copied1 . } else { Copy the next element of 2nd half to the next ...
Contents
CHAPTER | 2 |
The Phases of Software Development | 4 |
CHAPTER CONTENTS | 13 |
Copyright | |
62 other sections not shown