Can an Interface implement another Interface?

Ads
 

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

Ads









Related Tutorials/Questions & Answers:
Can an Interface implement another Interface?
Can an Interface extend another Interface?
Advertisements
interfaces
Java Interface
Interface in java with example
Identify the interfaces and methods a JMS message-driven bean must implement.
Identify the interfaces and methods a CMP entity bean must and must not implement.
can interface solve this problem in java
The implement keyword
what is cloud computing? any how we can implement?
Abstract and Interface
Can a method inside a Interface be declared as final?
Can a method inside a Interface be declared as final?
Interface and Abstract class
interface
In Composite Key Insertion Operation why the POJO class should implement Seriliazalbe interface?
Marker Interface,Java Marker Interface
How can we implement Pop-up in JQuery without Plugin?
How can i implement the calculator programe in jsp code
interface
Marker Interface In Java
can we use class in jsp which implements interface
Markable Interface
interface
EJB Interfaces
Interface
Interface
Java Remote Interface
interface
interface
java interfaces implementation

Ads