As I know the subclass constructor calls the super class constructor by using super();
.
But since interface doesn\'t have any constructor, how can inheritance take
The interface is a contract, defining what methods mush be offered by the implementation. A class doesn't inherit an interface but implements it.
From the specification :
This type has no implementation, but otherwise unrelated classes can implement it by providing implementations for its abstract methods.