-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,642
  • 7
  • 13
  • 35
paroxysm04
  • 43
  • 1
  • 7

1 Answers1

0

The 52 tells the compiler how large the array is.

NomadMaker
  • 447
  • 1
  • 5
  • 9