Is hierarchical inheritance allowed in Java?

Java supports only Single, Multilevel, and Hierarchical types of inheritance . Java does not support Multiple and Hybrid inheritance.

Sizin İçin Seçtik  How are constructors used in inheritance?

Leave a Reply

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