Array - Study Mode
[#1] Which of these is necessary to specify at time of array initialization?
Correct Answer
(A) Row
[#2] Which of these is an incorrect Statement?
Correct Answer
(A) It is necessary to use new operator to initialize an array
[#3] In Java, arrays are objects of which class?
Correct Answer
(D) None of the above
[#4] What is the default initial value of numeric elements in an array of type int in Java?
Correct Answer
(A) 0
[#5] What does the length attribute of an array in Java represent?
Correct Answer
(A) The number of elements in the array