The automatic conversion of a primitive type to the corresponding wrapper type when being passed as parameter to a generic class is called
A) type promotion
B) type wrapping
C) autoconversion
D) autoboxing
Correct Answer:
Verified
Q11: A class is generic
A) if it is
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
Q17: Look at the following method header:
Void displayPoint(Point<
Q18: When you create an instance of a
Q19: The Java notation MyClass< Student > means
Q20: Look at the following method header:
Void displayPoint(Point<
Q21: The code fragment
Class MySArrayList extends ArrayList< String
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