Multiple Choice
Which of the following is a legal way to declare and instantiate an array of ten Strings?
A) String s = new String(10) ;
B) String[10] s = new String;
C) String[] s = new String[10];
D) String s = new String[10];
E) String[] s = new String; e
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q19: Code Example Ch 08-2<br>Assume you have an
Q20: What does the following statement do? int[]
Q21: Assume list is an array of int
Q22: A ragged array is a multidimensional array
Q23: Given the following code and assuming list
Q25: A two-dimensional array named sales holds the
Q26: In Java an array can only store
Q27: The "off-by-one" error associated with arrays arises
Q28: If any int array, a, is passed
Q29: Given the following array declaration and instantiation,