Please enable JavaScript to use CodeHS

IB Computer Science Higher Level (Year One)

Lesson 18.8 Wrapper Classes

Description

In this lesson, students will learn how to convert primitive types to object types using a wrapper class. They will learn how Java automatically converts types using autoboxing and unboxing.


Objective

Students will be able to:

  • Create Integer and Double objects for wrapper classes
  • Call Integer and Double methods for wrapper classes