5 years ago in Java Arrays

Which three are legal array declarations?
1.int [] myScores [];
2. char [] myChars;
3. int [6] myScores;
4. Dog myDogs [];
5. Dog myDogs [7];

[A] 1, 2, 4
[B] 2, 4, 5
[C] 2, 3, 4
[D] All are correct.
Loading...
Next Question

Overall Stats

Attempted 212
Correct 36
Incorrect 97
Viewed 79

Answers

Guest
Guest
Vaibhav Bisht
Vaibhav Bisht - 4 weeks ago

Vaibhav Bisht from Dehradun, India is saying All are correct. is correct answer

Fâtïmá Żahřâ Zágñane
Fâtïmá Żahřâ Zágñane - 4 weeks ago

Fâtïmá Żahřâ Zágñane from Casablanca, Morocco is saying 1, 2, 4 is correct answer

Awa Kone
Awa Kone - 4 weeks ago

Awa Kone from Berrechid, Morocco is saying 2, 4, 5 is correct answer

ayoub benigmim
ayoub benigmim - 1 month ago

ayoub benigmim from Casablanca, Morocco is saying 2, 3, 4 is correct answer

AHMED SOULIMANI
AHMED SOULIMANI - 1 month ago

AHMED SOULIMANI from Casablanca, Morocco is saying 2, 3, 4 is correct answer

Related Questions