Multiple Choice
There are several ways to do a compile-time initialization of arrays. All of the following are valid ways EXCEPT ____.
A) int [ ] anArray = {100, 100, 100};
B) int [ ] anArray = new int [ ] {100, 100, 100};
C) int [ ] anArray = new int [3 ] {100, 100, 100};
D) int [ ] anArray = new int [10 ] {100, 100, 100};
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q34: The type used in the foreach expression
Q35: All data values placed in an array
Q36: int [ ] anArray = new int
Q37: Which of the following can be used
Q38: Arrays are _ variables. The array identifier
Q40: int [ ] anArray = new int
Q41: With parallel arrays, the relationship is established
Q42: int [ ] anArray = new int
Q43: Given an array declaration of int anArray[1000],
Q44: int [ ] score = {86, 66,