Multilevel Inheritance in Java

"Cow Class" calling methods that are available inside classes "Herbivore & Animal".  Though "Cow" extends only class "Herbivore", it would in turn inherit the properties of "Animal" extended by "Herbivore" . 

 





Leave a Reply.