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
What is variable declaration and definition?
How destructors are defined in java?
Can a static method be final?
What is the nested interface?
What is the list interface?
Explain the hierarchy of java exception classes?
What is the difference between interface & abstract class?
Is logger a singleton?
What is difference between float and double?
What is cr keyboard?
What is singleton class in java and how can we make a class singleton?
Are arrays primitive data types?
What are filterstreams?
Is a copy constructor?
What is time complexity java?