How inheritance 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 the difference between multilevel and multiple inheritance in Java?

Leave a Reply

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