Solved

Generics Limit Java Code Somewhat

Question 65

Multiple Choice

Generics limit Java code somewhat. Which of the following are considered limitations of generic code?
I cannot have an array of a generic type
II cannot have primitive type variables
III cannot construct an object of a generic type


A) I
B) II
C) III
D) I, II and III

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions