Thanks for the replies guys. much appreciated.
Yeah I have my Card Constructor in my Card Class.
public class Card
{
private char suit, value;
private String SuitName;
private String ValueName;
/**
* Constructor for objects of class Card
*/
Card(char suit, char value)
{
this.suit = suit;
this.value = value;
}
And my ArrayList in my Pack class
public class Pack
{
private ArrayList<Card> cards;
private Card RandomCard;
/**
* ArrayList containing 52 cards.
*/
public static void main(String[] args) {
ArrayList<Card> cards = new ArrayList<Card>();
cards.add(new Card('C','A'));