Multiple Choice
Which of the following is the correct way to instantiate an array of 10 generic objects?
A) T[] x = new T[10];
B) T[10] x = new T[];
C) T[] x = (T[]) (new object[10]) ;
D) None of the above
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q14: A _ is a Java language element
Q15: Stacks operate as _.<br>A) Last Out, First
Q16: Given the example in Figure 3.5, will
Q17: The most efficient way to implement an
Q18: What are the 3 primary methods for
Q20: All Java classes are derived, directly or
Q21: What is the characteristic behavior of a
Q22: If an exception occurs during the execution
Q23: A _ is an object that gathers
Q24: The term polymorphism refers to a reference