Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 6 years ago.
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.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 6 years ago.
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.
Interfaces are not classes. Therefore, an interface cannot have a superclass, and your question is essentially invalid.
Interfaces can extend of each other but no a super class for interfaces.