Question: This statement, ____, creates an array of references of the type Object and then type casts to an array of type T. A. list =

This statement, ____, creates an array of references of the type Object and then type casts to an array of type T.

A. list = (T[]) new Object[maxSize];
B. list = new Object[maxSize];
C. list = new T[maxSize];
D. list = (T) new Object[maxSize];

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!