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
What is the benefit of lambda expressions?
Can I import same package/class twice?
5 Coding best practices you learned in java?
Write a program to find maximum and minimum number in array?
What Is Composition?
Define jre i.e. Java runtime environment?
Can we overload the main() method?
Is java an open source?
Does windows 10 need java?
What is the parse method in java?
Explain the usage of this with constructors?
Explain about object oriented programming and its features?
How many unicode characters are there?
What does 0 mean in boolean?
How do you square a number in java?