If all the methods in abstract class are declared as
abstract then what is difference between abstract class and
in interface?
Answer Posted / prasad bhagwat
You can inherit the abstract class and use only those
methids which you want.
But in Interface you have you implement every method.
Is This Answer Correct ? | 7 Yes | 18 No |
Post New Answer View All Answers
What is ++ a in java?
How an object is serialized in java?
What are the files generated after using IDL to java compiler?
List primitive java types?
What is the covariant return type?
How do you detect memory leaks?
How garbage collection is done in java?
What is internal variable?
What is scope of a variable?
What is codebase?
Can private class be inherited in java?
Define reflection.
Java is Pass by Value or Pass by Reference?
What is the difference between length and length() method in java?
What is the benefit of lambda expressions?