Zork Title
Java Sec 2-1 Project 5
August 16, 2018
String Tokenizer Icon
Data Structures Classwork
August 16, 2018

Deck Of Cards

Java Sec 2-1 Project 2a

Description


Using the Card class and supporting classes such as Face and Suit from your exercise last week, create a Deck class representing a deck of cards. The class should demonstrate the Composition relationship with the Card class as shown in the UML diagram. The composition relationship here says that a Deck has an array of Card objects as an attribute and the Card objects are created by Deck’s constructor. A deck has exactly 52 cards.



Would you like to look closer at this project?
Click a button

5,699 total views, 14 views today