title: Recreating Arrays
body: <p>I'm trying to make a deck of cards, with arrays for each suit in a deck. When a card is drawn, it will be removed from the array of the suit it belongs too. When someone calls the shuffle method, it will "recreate" these arrays. I need help with how to do this.</p>
  
  <pre><code>public class Deck {
  
    private static String[] hearts = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
    private static String[] diamonds = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
    private static String[] clubs = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
    private static String[] spades = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
    private static int cardsLeft = 52;
  
  
    public static void shuffle() {
  
        /*
         * This method will shuffle the deck. It will simply recreate
         * the arrays after the cards have been deleted from being dealt.
         */
  
        hearts = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
        diamonds = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
        clubs = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
        spades = { "1", "2", "3", "4", "5", "6", "7", "8", "9", "10", "jack", "queen", "king", "ace"};
        cardsLeft = 52;
    }
  }
  </code></pre>
  
  <p>I create the arrays at the top, then try to overwrite it with the origonal one below in the shuffle method.</p>
  
  <p>Please do not help with anything else -- I want to do this on my own and I am only asking for help with this problem.</p>
  
  <p>Thanks!</p>