-3

Can i ask whats the meaning of the input "52" on [], because if i delete the 52 the program wont run.

ArrayList<String> playerCard[]= new ArrayList[52];
AMC
  • 2,466
  • 7
  • 11
  • 31
paroxysm04
  • 43
  • 5

1 Answers1

0

The 52 tells the compiler how large the array is.

NomadMaker
  • 378
  • 1
  • 4
  • 8