The automatic conversion of a wrapper type to the corresponding primitive type when the wrapper type is assigned to a variable of the primitive type is called
A) autoboxing
B) unboxing
C) type casting
D) autoconversion
Correct Answer:
Verified
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
Q11: A class is generic
A) if it is
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
Q17: Look at the following method header:
Void displayPoint(Point<
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