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 is method in research paper?
What is the difference between static class and normal class?
What is jit compiler in java?
What is hash in java?
In a container there are 5 components. I want to display all the component names, how will you do that?
How many types of gc are there in java?
What are the object and class classes used for?
Explain the use of sublass in a java program?
What is difference between adapter class and listener?
Define how destructors are defined in java?
Can an interface implement another interface?
What do you mean by an object in java?
What are the advantages of functions?
How do you declare an empty string?
What is the difference between serializable and externalizable interface?