Home > Back-end >  Java assignment method for an array name is what mean?
Java assignment method for an array name is what mean?

Time:10-07

An array of Java assignment method is what meaning,
Deck=Card. InitCard ();
This is a program that fight the landlord, deck is deck [54] one of the Card is your definition of a class that is used to produce a specific brand, 54 initCard is to give each deck [] give pictures,

CodePudding user response:

Java, also need to grasp the Card should be a class, there should be a static method called initCard (), this method creates and returns an array (such as {3 of clubs, red peach Q,,,,} finally assigned to the array variable deck

CodePudding user response:

reference 1st floor yyfhz response:
Java, also need to grasp the Card should be a class, there should be a static method called initCard (), this method creates and returns an array (such as {3 of clubs, red peach Q,,,,} finally assigned to the array variable deck
yes, I am too difficult, the teacher online course speak simply don't understand,
Thank you
  • Related