diff --git a/Personal/Cards/src/Card.java b/Personal/Cards/src/Card.java new file mode 100644 index 0000000..ec2edd9 --- /dev/null +++ b/Personal/Cards/src/Card.java @@ -0,0 +1,27 @@ +public class Card { + + private String suit; + private int face; + + public Card(String suit, int face) { + this.suit = suit.toUpperCase(); + this.face = face; + } + + public String getSuit() { + return suit; + } + + public void setSuit(String suit) { + this.suit = suit.toUpperCase(); + } + + public int getFace() { + return face; + } + + public void setFace(int face) { + this.face = face; + } + +}