Answer:
B) At runtime, new Integer[2] is assigned to numberArray. This makes each element of numberArray an Integer object. So you cannot assign a Double object to it.
Explanation:
The Number class in Java is the superclass for the numbers. Once it is set to the Integer object, the values in numberArray must be all integers, we know that arrays can hold one type of value in Java. Assigning a double value is not allowed in this situation.