Answer Posted / rajeshbonepalli
An interface can extend other interfaces, just as a class
can extend or subclass another class. However, whereas a
class can extend only one other class, an interface can
extend any number of interfaces. The interface declaration
includes a comma-separated list of all the interfaces that
it extends.
interface Sameinterface1 { }
interface Sameinterface2 { }
interface Sameinterface3 { }
....
...
interface SameinterfaceN { }
interface Sameinterface4 extends
Sameinterface1 ,Sameinterface2 ,...Sameinterface3 ,
SameinterfaceN {
}
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
How large is a boolean?
which class is the wait() method defined in? : Java thread
How many types of voids are there?
How do you create a bulleted list?
What is a parameter used for?
What is the difference between notify and notifyall method?
What is function overriding and overloading in java?
How does hashmap work in java ?
What is stream api in java8?
Define a java class.
Why does my function print none?
Explain the difference between abstraction and encapsulation.
What is exception propagation?
What are the restrictions that are applied to the java static methods?
Name some classes present in java.util.regex package.