What do you mean by hierarchical inheritance?

If more than one class is inherited from the base class , it’s known as hierarchical inheritance. In hierarchical inheritance, all features that are common in child classes are included in the base class. For example, Physics, Chemistry, Biology are derived from Science class.

Sizin İçin Seçtik  Özkaynak orani kaç olmalidir?

Leave a Reply

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