The following points should be observed for defining the derived class:
1. The keyword class has to be used.
2. The name of the derived class is to be given after the keyword class.
3. A single colon.
4. The type of derivation (the visibility mode), namely private, public or protected. If no visibility mode is specified, then by default the visibility mode is considered as private.
5. The names of all base classes (parent classes) separated by comma.