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.

Standard
2.9 Wrapper Classes: Integers and Doubles
Standard
4.8 Wrapper Classes
Standard
4.9 Wrapper Classes: Integers and Doubles
Standard
6.8 Wrapper Classes
Standard
8.9 Wrapper Classes: Integers and Doubles
12.8 Wrapper Classes
Standard
8.9 Wrapper Classes: Integers and Doubles
18.8 Wrapper Classes
Standard
6.8 Wrapper Classes