Skip to content · ⁨Saltar al contenido⁩

Using objects: String, Math, and wrappers · ⁨Usando objetos: String, Math y envolventes⁩

English

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.

Español

Usando objetos

  • Un objeto es un valor que sabe cómo realizar acciones. Se llaman sus métodos con un punto ..
  • Una String es un objeto. Math, Integer y Double te ofrecen herramientas predefinidas.
  • En esta lección aprenderás a crear objetos y usar sus métodos.

Llamar a length, max o toUpperCase ejecuta el método y devuelve un valor

Handout · ⁨Material⁩

Log in or create account · ⁨Iniciar sesión o crear cuenta⁩

IGCSE, A-Level & AP