.

Interfaces in C++

An interface describes the behavior of the classNamewithout committing towards the implementation of the className. This interface is implemented using the abstract classNameand these classes must not be confused with the data present in implementation of the associated data.

A classNameis declared at least once in the function defined as pure virtual function.

Example

.