import java.util.Random;
public class Card
{
String suit,face;
String[] suitArray={"hearts","diamonds","clubs","spades"};
String[] faceArray={"2","3","4","5","6","7","8","9","10","J","Q","K","A"};
/**
* Generates a card with a random suit and face
**/
public Card()
{
Random gen = new Random();
// since we can access arrays via index, let's generate some random numbers for the indices
suit = suitArray[gen.nextInt() % suitArray.length()];
face = faceArray[gen.nextInt() % faceArray.length()];
}
/**
* Creates a card given a suit and a face
* @param suit
* @param face
*/
public Card(String s, String f)
{
// TODO: you're turn. What code should you put here so the Card is created correctly?
}
}