Java Software Structures: Designing and Using Data Structures
The second edition of Java Software Structures embraces the enhancements of Java 5.0, where all structures and collections are based on generics. The framework of the text walks the reader through three main areas: conceptualization, explanation, and implementation, allowing for a consistent and coherent introduction to data structures. The addition of integrated case studies provides complete examples to aid readers starting with the problem statement, to design rationale, through full implementation. Readers will learn how to develop high-quality software systems using well-designed collections and algorithms.
Results 1-3 of 21
The Blackjack class will use the Deck class to store the deck being used for the
game and will use the Hand class to keep track of each player's hand. The class
that will control the GUI, BlackJackGUl, must provide a Deal button (as described
The GUI needs to provide buttons to represent the digits 0 through 9, and buttons
to represent the basic operations (addition, subtraction, multiplication, and
division). In addition, the GUI needs to provide buttons for parentheses (left and
The constructor for this class lays out the buttons representing the digits,
operators, and parentheses. In addition, this class provides action listeners for
the clear button, all of the numeric buttons and operators, and the equals button.
Listing 9.3 ...
What people are saying - Write a review
17 other sections not shown