|
|
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Exercises
Exercise 1: Rewrite the class
Cardfrom the exercise in Questions and Exercises: Creating Classesso that it represents the rank and suit of a card with enum types.
Answer 1: SeeCard3.java,
Suit.java, and
Rank.java.
Exercise 2: Rewrite the
Deckclass.
Answer 2: SeeDeck3.java.
|
|
Start of Tutorial > Start of Trail > Start of Lesson |
Search
Feedback Form |
Copyright 1995-2005 Sun Microsystems, Inc. All rights reserved.