LCCC Course CIS 210 - Java Programming

Java Programming Assignment 6 - Card Class

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

  1. appropriate commenting and indenting
  2. fields
    • int value
    • int suit
    • int rank
    • ImageIcon frontImage
    • ImageIcon backImage
  3. methods
    • constructor that accepts a single int parameter for the rank
    • get and set methods for each of the fields

 

 

www.lc.edu

Last Updated: January, 2011