Advertisement
zachdyer

Java: Deck of Cards

May 30th, 2013
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.19 KB | None | 0 0
  1. public class Cards {
  2.     public static void main(String args[]){
  3.         Deck deck = new Deck();
  4.         for(Card card : deck.getCards()){
  5.             System.out.println(card.rank + " of " + card.suit);
  6.         }
  7.     }
  8. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement