I declared two cards:
Card card1 = new Card(\'3\', Card.Suit.clubs); Card card2 = new Card(\'T\', Card.Suit.diamonds);
This works:
I think you need to go though this... I will clear your concepts... Please refer Java tutorials as and when possible.. its helpful
http://docs.oracle.com/javase/tutorial/java/nutsandbolts/arrays.html