Given:
What is the output?
Given:
What is the output?
In the given Java code, the method analyze() with the parameter of type Object will be called. This is because in Java, arrays are objects, and therefore, the parameter nums which is of type int[] will be upcast to Object. Hence, the output will be 'I am an object.'
Tested: D.
arrays are object in java, so method call to object version overload method
Tested: D
D Tested
D is correct.
Over cannot be resolved to a type A is correct
D is the correct answer