Answer Posted / ganesh
we can extends one or more interfaces by using an interface.
i.e)Multiple inheritance is available in case of interfaces.
we can't extends an interface by using a class,but we able
to implemented.
Sytax:
1)interface interfacename1 extends interface2 //true
2)interface interfacename1 extends
interface2,interfacename2,..............interfacenamen //true
| Is This Answer Correct ? | 16 Yes | 5 No |
Post New Answer View All Answers
Can we clone singleton class in java?
What is the constructor?
What is the use of toarray () in java?
Is java a prime method?
How does list work in java?
What is the difference between processes and threads?
What is type parameter in java?
extending thread class or implementing runnable interface. Which is better? : Java thread
What is the destroy method?
Can a private method of a superclass be declared within a subclass?
What are anonymous inner classes?
How many bits is a 64 bit byte?
What is thread safe singleton?
what is meant by abstract class?
What is the difference between keyword and identifier?