title: Create a Deck of Cards with Two Arrays
body: <p>I am working on a Java experiment to make a deck of cards. So far, I managed to get the card class working. This sets up card with getter and setter methods for rank and suit and a toString method. One of the instructions in the deck class says to create a deck, using a Card object for every combination of rank and suit. I'm not confident on how to do this and was wondering if anyone could point me in the right direction? So far this is the code I have: </p>
  
  <pre><code>public class Deck
  {
      public static final int number = 52;
  </code></pre>