A class is generic
A) if it is a subclass of the Object class
B) if it is a superclass of the Object class
C) if it has type parameters
D) if it has method parameters
Correct Answer:
Verified
Q6: In a generic method,a type parameter is
Q7: A generic class
A) can only extend a
Q8: An advantage of using generic types is
A)
Q9: The declaration
ArrayList< int > aL = new
Q10: Let Point< T > be a generic
Q12: The automatic conversion of a wrapper type
Q13: When a generic class is instantiated without
Q14: Consider a method of the form
Void printPoint(Point<
Q15: One of the advantages of using generics
Q16: The automatic conversion of a primitive type
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents