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 13
Specification and Implementation of the IntLi nkedBag Class Class IntLinkedBag
❖ public class IntLinkedBag from the package edu.colorado.collections An
IntLinkedBag is a collection of int numbers. Limitations: (1) Beyond Int.
Implementation of Our Second Bag Class Implementation // FILE: IntLinkedBag.
java from the package edu. colorado. collections // Documentation is available in
Figure 4.1 2 on page 21 1 or from the IntLinkedBag link in // http : //www. cs . col ...
Of course, we know that this Object is really an IntLinkedBag, but the compiler
doesn't know that. Therefore, to use the clone method, we need a typecast, as
shown here: IntLinkedBag c; IntLinkedBag b = new IntLinkedBag ( ); b . add (42) ;
What people are saying - Write a review
The Phases of Software Development
Abstract Data Types and Java Classes
27 other sections not shown