Skip to content · ⁨コンテンツへスキップ⁩

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 & AP