import java.util.*;
public class Card{
private String Value;
private String Suit;
public Card (String Value, String Suit) {
Value = Value;
Suit = Suit;
}
public String getValue() {
return Value;
}
public String toString() {
String [] Suit = {"C", "S", "H", "D"};
String [] Value = {"A", "2", "3", "4", "5", "6", "7", "8", "9",
"T", "J", "Q", "K"};
return Value+Suit;
}
}
This post has been edited by smohd: 22 November 2011 - 10:43 AM
Reason for edit:: Set font size to normal

New Topic/Question
Reply



MultiQuote






|