What is inheritance explain how it is implemented?

Implementation inheritance is the mechanism whereby a subclass re-uses code in a base class . By default the subclass retains all of the operations of the base class, but the subclass may override some or all operations, replacing the base-class implementation with its own.

Sizin İçin Seçtik  What is design in everyday life?

Leave a Reply

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