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) II only
B) I only
C) I and II only
D) I, II, and III
Correct Answer:

Verified
Correct Answer:
Verified
Q2: Given an array myArray, which of the
Q3: Consider the following code snippet:<br>public class Box<E><br>{<br>private
Q4: Consider the following code snippet:<br>public static <T>
Q5: Given the following declaration, what is the
Q6: Consider the following code snippet:<br>public class Box<E><br>{<br>private
Q7: To maintain compatibility with pre-generic Java, type
Q8: Which of the following statements about generic
Q9: Consider the following code snippet:<br>public static <E>
Q10: Which of the following statements about generic
Q11: Consider the following code snippet:<br>public class Box<E><br>{<br>private