Please enable JavaScript to use CodeHS

AP CSA: VAR-1.F.6

CodeHS Lessons

Unboxing is the automatic conversion that the Java compiler makes from the wrapper class to the primitive type. This includes converting an Integer to an int and a Double to a double.

8.9 Wrapper Classes: Integers and Doubles
8.9 Wrapper Classes: Integers and Doubles
12.8 Wrapper Classes
2.9 Wrapper Classes: Integers and Doubles
6.8 Wrapper Classes