问题
In java, I know that super class of all "classes" is "Object" class. My doubt is,what is the super class for all the "interfaces" in java.
回答1:
Interfaces are not classes. Therefore, an interface cannot have a superclass, and your question is essentially invalid.
- Is Interface a class?
- Is a Java interface an abstract class?
回答2:
Interfaces can extend of each other but no a super class for interfaces.
来源:https://stackoverflow.com/questions/22451297/what-is-the-super-class-for-all-the-interfaces-in-java