Java doesn\'t allow multiple inheritance, but it allows implementing multiple interfaces. Why?
Java does not support multiple inheritance because of two reasons:
Object class. When it inherits from more than one super class, sub class gets the ambiguity to
acquire the property of Object class..super() to invoke the
supper class constructor. If the class has more than one super class, it
gets confused.So when one class extends from more than one super class, we get compile time error.