Java Coder
Can an Interface implement another Interface?
1 Answer(s)      2 years and 5 months ago
Posted in : Java Beginners

Hi,

Can an Interface implement another Interface?

Thanks,

Advertisement
View Answers

April 15, 2013 at 6:01 PM


Hi friend,

No, an interface can not implement another interface. Interface is not for providing the implementation it is for referencing instead. Interface is implemented by a class. If you will implement an interface into an another interface then the compiler will give the compilation error.

For more detail please visit the following link :

http://roseindia.net/java/example/java/core/java-interface.shtml