LCCC Course CIS 210 - Java Programming

Java Programming Assignment 7 - Deck Class

Based upon your instructor's lecture, you will write a class that models a standard deck of 52 cards (no Jokers). The program will have the following specifications:

  1. appropriate commenting and indenting
  2. fields
    • array of 52 Cards
    • int topCard
  3. methods
    • constructor
    • getCardFromDeck()
    • shuffle()
    • sortByRank()

 

 

www.lc.edu

Last Updated: January, 2011