3. Classes and Instances

3.1. Classes

A class is a definition, a template or a mould to enable the creation of new objects and is, therefore, a description of the common characteristics of several objects.

Using the concept of class, characteristics can be associated with a whole group of objects. A class can then be described as an abstraction that describes all the common characteristics of the objects forming part of it.

3.2. Instances

An object that belongs to a class is called an instance of that class.

Figure 1.3. Instances of class Man

Instances of class Man

3.3. Audio

Audio in Portuguese