Question: A + Computer Science MAKE A CARD Lab Goal : This lab was designed to teach you more object oriented programming and start you down

A + Computer Science MAKE A CARD

Lab Goal : This lab was designed to teach you more object oriented programming and start you

down the path of creating larger programs and games like BlackJack and Elevens [ one of the AP CS A Labs ].

Lab Description : You need to design and create a Card class that will represent a playing card. The Card class will have only a face and a suit.

public class Card

{

public static final String FACES[] = {"ZERO","ACE","TWO","THREE","FOUR",

"FIVE","SIX","SEVEN","EIGHT","NINE","TEN","JACK","QUEEN","KING"};

//instance variables

//String suit

//int face

//constructors

// modifiers

//set methods

//accessors

//get methods

//toString

}

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!