Skip to content
Learnearn.uk » A Level Computer Science Home » Object Orientated Programming

Object Orientated Programming

Classes & Instances

Class

A class is a blueprint/blueprint for an object.

  • Object / Instance
  • Objects are what the blueprint makes.
  • An instance is an individual object.
  • Objects & Instances are widely used interchangeably.
  • A blueprint for a house design is like a class description. All the houses built from that blueprint are objects of that class. A given house is an instance.

Properties / Attributes

 

Methods

 

Getters & Setters

Inheritance

Poly-morphism

Containment / Aggregation

Project Ideas

Resources