Can an Interface implement another Interface?

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
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.
The implement keyword
Interface in java with example
Abstract and Interface
Interface and Abstract class
can interface solve this problem in java
interface
In Composite Key Insertion Operation why the POJO class should implement Seriliazalbe interface?
Marker Interface,Java Marker Interface
what is cloud computing? any how we can implement?
interface
Can a method inside a Interface be declared as final?
Can a method inside a Interface be declared as final?
Marker Interface In Java
Markable Interface
interface
EJB Interfaces
Interface
Java Remote Interface
Interface
How can we implement Pop-up in JQuery without Plugin?
How can i implement the calculator programe in jsp code
Collection Interfaces
interface
java interfaces implementation
interface

Ads