The Basics Flashcards
1
Q
What are the eight primitive types
A
boolean, byte, char, short, int, long, float, and double
2
Q
What is autoboxing
A
“autoboxing” refers to the automatic conversion from a primitive type to an Object using the primitive’s wrapper class.
3
Q
When are Wrapper classes particularly important
A
Wrapper classes are particularly useful for using primitive types as type parameters in generic classes.
4
Q
When is a method considered overloaded?
A
A method is overloaded if there are multiple versions with the same name but different parameters.