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 a void method?
Is upper case in java?
What is object in java?
What is io stream in java?
Why generics are used in java?
What is a flag value?
Why constructor has no return type?
How to calculate the length of a singly linked list in java?
Can we declare the static variables and methods in an abstract class?
What is the use of default method in interface in java?
what is thread? What are the high-level thread states? : Java thread
What is keyword auto for?
Explain about java sdk?
What is the meaning of course?
do I need to use synchronized on setvalue(int)? : Java thread