Solved

Which of the Following Is a Valid Declaration for a Ragged

Question 19

Multiple Choice

Which of the following is a valid declaration for a ragged array with five rows but no columns?


A) int[ ][ ] ragged = new int[5];
B) int[ ][ ] ragged = new int[ ][5];
C) int[ ][ ] ragged = new int[5][ ];
D) int[ ] ragged = new int[5];

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions