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









Related Tutorials/Questions & Answers:
Can an Interface implement another Interface?
Can an Interface extend another Interface?
Advertisements
Implement an interface in a JSP
interfaces
Implement the Serializable Interface
Java Interface
Interface in Java
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.
Interface Example-3
The implement keyword
Interface in java with example
Interface Example-4
Interface Example-2
Interfaces in flex
Abstract and Interface
can interface solve this problem in java
Interface and Abstract class
interface
In Composite Key Insertion Operation why the POJO class should implement Seriliazalbe interface?
Marker Interface,Java Marker Interface
Java interfaces
what is cloud computing? any how we can implement?
interface
can anyone help me to implement strength of the password - Security
Interface in java
Can a method inside a Interface be declared as final?
Can a method inside a Interface be declared as final?
Marker Interface In Java
EJB Interfaces
interface
Markable Interface
PHP Interface Class
Interface
Interface
Java Remote Interface
interface - Java Beginners
How can we implement Pop-up in JQuery without Plugin?
interfaces - Java Beginners
How can i implement the calculator programe in jsp code
Collection Interfaces
interface
how can we pass parameters from jsp href to another servlet
java interfaces implementation
interface
interface
can we use class in jsp which implements interface
interface
interfaces,exceptions,threads
interface.

Ads