Can an Interface implement another Interface?

Hi,

Can an Interface implement another Interface?

Thanks,

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









Related Tutorials/Questions & Answers:
Advertisements