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 35
... graph ? 2. Is Figure 14.2 a simple graph ? Why or why not ? 3. Suppose we have four coins in the coin game instead of just three . At the start of the game , the coins are in a line , with the two end coins heads and the other two coins ...
... graph of Figure 14.2 on page 696 , each vertex is associated with a city name . The addition of information at each vertex makes the graph a labeled graph , and the information itself is called a vertex's label . Of course , the ...
Michael Main. FIGURE 14.3 Specification and Implementation of the Graph Class Class Graph ❖ public class Graph from the package edu.colorado.graphs A Graph is a labeled graph with a fixed number of vertices . Specification • Constructor ...
Contents
CHAPTER | 2 |
LEARNING OBJECTIVES | 14 |
Java Classes and Information Hiding | 40 |
Copyright | |
44 other sections not shown