Card - /* */ /* * NNP: Nice job! A few more comments...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
/** */ /** * NNP: Nice job! A few more comments describing the class would be helpful. All your * methods are working fine. Your score is 10.5/11 * * Chapter 3 exercises: Object and class diagrams? Also, some of your answers have a very * "made up" feel. Make sure that your are understanding the concepts behind those questions. * Your score is 10/10. */ public class Card { // instance variables - replace the example below with your own private int value; private int suit; private String returnValue; private String returnString; private String returnSuit; // hearts diamonds spades clubs //ace 2 3 4 5 6 7 8 9 10 jack queen king /** * The default card is set to the ace of spades upon invoking this constructor. */ public Card() { value = 1; suit = 3; } /** * Please type in an integer from 1-13 inclusive that represents the value of * the card you would like. 1: ace. 2-10. 11: Jack. 12: Queen. 13: King. * * Please enter another integer, 1-4 inclusive, for the suit of the card
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 04/14/2010 for the course ENGL 104 taught by Professor Osbourne during the Spring '08 term at A.T. Still University.

Page1 / 3

Card - /* */ /* * NNP: Nice job! A few more comments...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online