Can a class extend abstract class or interface? why
Answer Posted / mahesh
A class can extend an Abstract class but it can't extend an
interface.
| Is This Answer Correct ? | 2 Yes | 0 No |
Post New Answer View All Answers
What about features of local inner class?
What is lazy initialization in java?
what is enumset?
What is a JAR file?
Where local and global variables are stored?
Explain when we should make an instance variable private.
Can we call the constructor of a class more than once for an object?
What is anonymous inner class?
These static constructors are correct ? class A { statc intA() { } static A(int x,int y) { } static A(int x) { } }
Why we use set in java?
What are thread safe functions?
What is a variable and constant?
What are the advantages of passing this into a method instead of the current class object itself?
Can a final variable be initialized in constructor?
Why hashcode is used in java?