why is an interface be able to extend more than


Why is an Interface be able to extend more than one Interface but a Class can't extend more than one Class?

Basically Java doesn't permit multiple inheritances, so a Class is restricted to extend only one Class. But an Interface is a pure abstraction model and doesn't have inheritance hierarchy like classes(do remember that the base class of all classes is Object). So an Interface is permitted to extend more than one Interface.

 

Request for Solution File

Ask an Expert for Answer!!
JAVA Programming: why is an interface be able to extend more than
Reference No:- TGS0310915

Expected delivery within 24 Hours