What is the super class for all the interfaces in

2020-05-11 06:20发布

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.

2条回答
Anthone
2楼-- · 2020-05-11 06:44

Interfaces can extend of each other but no a super class for interfaces.

查看更多
仙女界的扛把子
3楼-- · 2020-05-11 06:59

Interfaces are not classes. Therefore, an interface cannot have a superclass, and your question is essentially invalid.

查看更多
登录 后发表回答