Solved

Generics Limit Java Code Somewhat

Question 23

Multiple Choice

Generics limit Java code somewhat. Which of the following are limitations of generic code?
I cannot declare static variables of a generic type
II cannot declare static methods of a generic type
III cannot declare static inner classes of a generic type


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

Correct Answer:

verifed

Verified

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

Related Questions