What is multilevel and hierarchical inheritance in Java?

So basically, using inheritance can extend the functionality of the class by creating a new class that builds on the previous class by inheriting it. Multilevel inheritance is when a class inherits a class which inherits another class . An example of this is class C inherits class B and class B in turn inherits class A.15 Şub 2019

Sizin İçin Seçtik  Marjinden izole ne demek?

Leave a Reply

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