Which three are legal array declarations?
  1. int [] myScores [];

Home | Discussion Forum

Which three are legal array declarations?

  1. int [] myScores [];
  2. char [] myChars;
  3. int [6] myScores;
  4. Dog myDogs [];
  5. Dog myDogs [7];

View More Related Question

1) Which one of these lists contains only Java programming language keywords?

2) Which is a valid keyword in java?

3) Which is a reserved word in the Java programming language?

4) Which three are legal array declarations?

  1. int [] myScores [];
  2. char [] myChars;
  3. int [6] myScores;
  4. Dog myDogs [];
  5. Dog myDogs [7];

5) Which will legally declare, construct, and initialize an array?

UP Gk Online Test

taiyari24hour.com