title: Type mismatch cannot convert from String to String[]
body: <p>When I run:</p>
  
  <pre><code>import java.util.Scanner;
  
  public class War {
  
      public static void main(String[] args) {
          String[] deckcards=deck();
          String[] player1cards=player1Cards(deckcards);
      }
      public static String[] deck(){
          String[] Cards = {"spades1","spades2","spades3", "spades4", "spades5", "spades6", "spades7", "spades8", "spades9", "spades10", "spadesJ", "spadesQ", "spadesK", "spadesA", "clubs1", "clubs2", "clubs3", "clubs4", "clubs5", "clubs6", "clubs7", "clubs8", "clubs9", "clubs10", "clubsJ", "clubsQ", "clubsK", "clubsA", };
          return Cards;
      }
      public static String [] player1Cards(String[] deckcards){
          String[] player1cards = deckcards[0];
          return player1cards;
      }
  </code></pre>
  
  <p>I get two errors.</p>
  
  <p>One error tells me </p>
  
  <pre><code>Type mismatch cannot convert from String to String[]
  </code></pre>
  
  <p>The other error tells me there is a line breakpoint error on:</p>
  
  <pre><code>String[] player1cards = deckcards[0];
  </code></pre>
  
  <p>How can I fix this?</p>