Question: what are subclasses in c++?
Answer: The subclass inherits all the members of the superclass. The subclass shall define its own constructor(s). It may define additional members (data or functions). Access Specifier: C++ supports three access specifier: private , public and protected .