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 size of int?
What does nullpointerexception mean?
Explain the available thread states in a high-level?
what is the difference between future and callable interface in java?
What is difference between fail-fast and fail-safe?
What is * argv?
Q1.A. Write note on “The class path Environment Variable”? B. Which are different kinds of source code? Q2.A. How to create an interface? B. Why convert an applet to an application? Q3.A. How to use Media tracker Class. B. How to use string tokenizer class. Q4 A. Explain the overview of UDP messaging. B. Difference between SQL Exception class and SQL Warning class. Q5. A. How to create com object in Java? B. Write short notes on “The properties class” Q6. A. When object is created and destroyed? B. Explain the JDB in depth & command line. C. Write short notes on Web Sites.
how to create constants in java?
What is thread safe singleton?
Are true and false keywords?
What is abstraction in java?
What are access specifiers in java ?
What is oop principle in java?
What is meant by stack and queue?
How many types of interfaces are there?