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

Default error msg

Login

New to Study24x7 ? Join Now
Already have an account? Login
15 Feb 2023 06:34 PM study24x7 study24x7

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.

study24x7
Write a comment
Related Questions
500+   more Questions to answer
Most Related Articles