Question: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. 

+ Answer
+ Explanation
+ Report
Total Preview: 1386

Copyright © 2024. Powered by Intellect Software Ltd