Skip to content

Classes & objects

Handout

A class is a blueprint

  • A class defines a new kind of thing — a user-defined type.
  • An object is one item made from that class.
  • One Dog class can make many dog objects, each with its own data.

A Point class is a blueprint; p and q are objects, each with its own x and y

Handout

Log in or create account

IGCSE & A-Level