Question 724: Which will legally declare, construct, and initialize an array?
tcs
wipro
infosys
general
aptitude
language-fundamentals
java-programming
The only legal array declaration and assignment statement is Option DOption A is wrong because it initializes an int array withStringliterals.Option B is wrong because it use something other than curly braces for the initialization.Option C is wrong because it provides initial values for only one dimension, although the declared array is a two-dimensional array.