Multiple inheritance is not supported in case of class because of ambiguity. But it is supported in case of interface because there is no ambiguity as implementation is provided by the implementation class. When a class implements multiple interfaces, or an interface extends multiple interfaces i.e. known as multiple inheritance.
Interface in java is a model/prototype of a class. It has static constants and methods (without implementation). There can be only abstract methods in the java interface not method body. It is used to achieve abstraction and multiple inheritance in Java. It cannot be instantiated. Three reasons to use interface. They