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
Get step-by-step solutions from verified subject matter experts
