answersLogoWhite

0


Best Answer

No. An interface cannot implement another interface, it can only just extend it. Because, an interface cannot implement any method as it has no method body declarations.

User Avatar

Wiki User

11y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: Can interface implement the other interface?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What is AppletStub Interface?

The applet stub interface provides the means by which an applet and the browser communicate. Your code will not typically implement this interface


How do you implement runnable interface?

By implementing Runnable in our class and by overriding the run() method of Runnable interface


Which interface must you implement to ensure that your Servlet is single threaded?

SingleThreadModel


Why an interface can not have anything but constants and abstract methods?

The idea is that an interface is not a class, it is just a specification of what classes that implement it must contain.


What are the functions of an interface in Java?

To create an abstraction or a blueprint for a class to implement later.


What interface do you implement to do the sorting?

we can do sorting by using two interfaces like comparator and comparable


Does the class can extend the class and implement interface at a time?

Yes, classes can implement more than one interface.To declare a class that implements an interface, you include an implements clause in the class declaration.Your class can implement more than one interface, so the implements keyword is followed by a comma-separated list of the interfaces implemented by the class.By convention, the implements clause follows the extends clause, if there is one.


Can you instantiate an interface?

According to a beginner's book on Java, an interface can't have constructors. Also, the interface itself can't contain the method implementation.


What are adapter classes in java?

An adapter class is a class that provides a dummy (empty) implementation for an interface. That way someone who wants to implement the interface but does not want or does not know how to implement all methods, can use the adapter class instead, and only override the methods he is interested in.


What Java interface do you implement to provide methods that are called as an XML document is processed by a SAX parser?

ContentHandler


Which interface standard should you deploy to implement a fast connection over long distances?

EIA-449


How do you implement ATM interface to desktop personal computer?

Oo cuba cari jawapan cara mudah ye