Please enable JavaScript to use CodeHS

AP CSA: VAR-1.F.4

CodeHS Lessons

Autoboxing is the automatic conversion that the Java compiler makes between primitive types and their corresponding object wrapper classes. This includes converting an int to an Integer and a double to a Double.

Standard
2.9 Wrapper Classes: Integers and Doubles
Standard
4.8 Wrapper Classes
Standard
6.8 Wrapper Classes
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