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 the features of java?
Can an interface implement another interface?
Difference between operator overloading and function overloading
What is static variable with example?
What happens if a constructor is declared private?
What is length in java?
Why are the methods of the math class static?
I want to re-reach and use an object once it has been garbage collected. How it's possible?
Why singleton is not thread safe?
Is it possible to cast an int value into a byte variable? What would happen if the value of int is larger than byte?
What is the largest data type in java?
A person says that he compiled a java class successfully without even having a main method in it? Is it possible?
What are multiple inheritances? Is it supported by java?
What are JVM.JRE, J2EE, JNI?
Can we overload destructor in java?