Answer Posted / pramod p deore
No, an interface can extends only other interface.
Interface can not extends a class or abstract class.
1) a class can implements an interface but does not extends
interface.
2) interface can extends other interface but does not
implemets other interface.
3) a class can extends other class but does not implements
other class.
| Is This Answer Correct ? | 60 Yes | 0 No |
Post New Answer View All Answers
What are void methods?
Is vector thread safe in java?
Explain why wait(), notify() and notifyall() methods are in object class rather than in thread class?
How do you reverse a word in java?
What is a function in programming?
How do you add an element to an arraylist in java?
Mention the default values of all the elements of an array defined as an instance variable.
How many bits are used to represent unicode, ascii, utf-16, and utf-8 characters in java programming?
What is the size of a string in java?
Why is the type for real numbers called double?
How does remove work in java?
What is difference between equal and == in java?
What language is pass by reference?
How garbage collection is done in java?
What is object-oriented programming?