Card - of\ the\ card\nyou\ want.\ 1\:\ hearts.\ 2\:\...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
#BlueJ class context comment0.target=Card() comment0.text=\nThe\ default\ card\ is\ set\ to\ the\ ace\ of\ spades\ upon\ invoking\ this\ constructor.\n\n comment1.params=valuee\ suite comment1.target=Card(int,\ int) comment1.text=\nPlease\ type\ in\ an\ integer\ from\ 1-13\ inclusive\ that\ represents\ the\ value\ of\nthe\ card\ you\ would\ like.\ 1\:\ ace.\ 2-10.\ 11\:\ Jack.\ 12\:\ Queen.\ 13\:\ King.\n\nPlease\ enter\ another\ integer,\ 1-4\ inclusive,\ for\ the\ suit\ of\ the\ card\nyou\ want.\ 1\:\ hearts.\ 2\:\ diamonds.\ 3\:\ spades.\ 4\:\ clubs.\n\n comment2.params=valuee comment2.target=void\ setValue(int) comment2.text=\nPlease\ type\ in\ an\ integer\ from\ 1-13\ inclusive\ that\ represents\ the\ value\ of\nthe\ card\ you\ would\ like.\ 1\:\ ace.\ 2-10.\ 11\:\ Jack.\ 12\:\ Queen.\ 13\:\ King.\n\n comment3.params=suitee comment3.target=void\ setSuit(int) comment3.text=\nPlease\ enter\ another\ integer,\ 1-4\ inclusive,\ for\ the\ suit\
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: of\ the\ card\nyou\ want.\ 1\:\ hearts.\ 2\:\ diamonds.\ 3\:\ spades.\ 4\:\ clubs.\ n\n comment4.target=int\ getValue() comment4.text=\nYou\ will\ get\ an\ integer\ return\ type\ that\ represents\ the\ value\ of\ card\ you\ have.\ 1\:\ ace.\ 2-10.\ 11\:\ Jack.\ 12\:\ Queen.\ 13\:\ King.\n\n comment5.target=int\ getSuit() comment5.text=\nYou\ will\ get\ an\ integer\ return\ type\ that\ represents\ the\ suit\ of\ the\ card\ you\ have.\ 1\:\ hearts.\ 2\:\ diamonds.\ 3\:\ spades.\ 4\:\ clubs.\n\n comment6.target=String\ strValue() comment6.text=\nThis\ methods\ returns\ the\ value\ for\ the\ number\ of\ the\ card\ you\ have\ entered.\n\n comment7.target=String\ strSuit() comment7.text=\nThis\ method\ returns\ the\ value\ of\ suit\ of\ the\ card\ you\ have\ entered.\ \n\n comment8.target=String\ toString() comment8.text=\nThis\ method\ returns\ the\ string\ value\ of\ the\ card\ you\ have\ entered.\n\n numComments=9...
View Full 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.

Ask a homework question - tutors are online