Which one of the following assignment statements associates an int array, that can hold 12 integers, with a reference variable named scores?
A) scores = new int[12];
B) int[12] = new scores;
C) int scores[12];
D) new int scores[12]
Correct Answer:
Verified
Q8: When a(n) _ variable is declared, the
Q9: Of the following statements, which one correctly
Q10: Look at the following code sample: const
Q11: When you create a numeric array in
Q12: The storage locations in an array are
Q14: When you create an array, you can
Q15: It is preferred practice to use a(n)
Q16: Which one of the following statements correctly
Q17: What special value are the elements of
Q18: Each element in an array is identified
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents