Skip to content

Using objects: String, Math, and wrappers

Handout

Using objects

  • An object is a value that knows how to do things. You call its methods with a dot ..
  • A String is an object. Math, Integer, and Double give you ready-made tools.
  • In this lesson you learn to make objects and use their methods.

Calling length, max or toUpperCase runs the method and returns a value

Handout

Log in or create account

IGCSE & A-Level