What is needed to define a class?

A class is a user-defined type that describes what a certain type of object will look like. A class description consists of a declaration and a definition . Usually these pieces are split into separate files. An object is a single instance of a class. You can create many objects from the same class type.

Read more