Multiple Choice
Which of the following are restrictions of Java generic programming?
I You cannot use the assignment operator = to assign one generic object to another.
II You cannot use the == operator to compare two generic objects.
III You cannot construct arrays of generic types.
A) I
B) II
C) III
D) I and III
Correct Answer:

Verified
Correct Answer:
Verified
Q19: What is the best technique for overcoming
Q20: Which of the following satisfies the wildcard
Q21: What does it mean when the syntax
Q22: Consider the following code snippet: ArrayList<Coin> coins1
Q23: Generics limit Java code somewhat. Which of
Q25: Which of the following statements about using
Q26: Consider the following code snippet: public class
Q27: Consider the following code snippet: public class
Q28: Consider our own generic class MyLinkedList shown
Q29: Given the following generic method, which of