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 are the 8 data types in java?
Why can't we use static class instead of singleton?
What is the right data type to represent a price in java?
which is advanced deep technology in java launched by the sun microsystem??? The answer is very logical If u need correct answer mail me at priya_gupta@gmail.com
What is a line break?
Explain when noclassdeffounderror will be raised ?
What happens if a try-catch-finally statement does not have a catch clause to handle an exception that is thrown within the body of the try statement?
What is casting in java programming?
How do you download stubs from Remote place?
Explain the inheritance?
Can we define package statement after import statement in java?
What are variable arguments or varargs?
Why is it called a string?
Why are arrays useful in java?
Can a class be private?