what is a class?

 

definition
In the real world, you'll often find many individual objects all of the same kind. For example, there may be thousands of bicycles in existence, all of the same make and model.

Each bicycle was built from the same set of blueprints and therefore contains the same components.

In object-oriented terms, we say that a bicycle is an instance of the class of objects known as bicycles.

A class is the blueprint from which individual objects are created.