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 are the parts of a method?
Can we override constructor?
What does the ‘static’ keyword mean? Is it possible to override private or static method in java?
What is an array length?
What is a class component?
Why inputstreamreader is used in java?
What are locale settings?
What is java argument list?
Define an enumeration?
what is optional in java 8?
Which sort is best in java?
Does .length start 0 java?
How do you use nextline in java?
Is java a software?
What is immutable data?