What are base class and derived class with reference to OOP?

A base class is also called parent class or superclass. Derived Class: A class that is created from an existing class . The derived class inherits all members and member functions of a base class. The derived class can have more functionality with respect to the Base class and can easily access the Base class.

Sizin İçin Seçtik  Is it necessary to call super constructor in Java?

Leave a Reply

Your email address will not be published. Required fields are marked *