Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Java-Beginners Can an Interface implement another Interface?

Have Programming Question? Ask it here!
 
 
 


Java Coder
Can an Interface implement another Interface?
1 Answer(s)      a year 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



Related Tutorials/Questions & Answers:
Advertisements
Advertisements
 

 

 

DMCA.com