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 are the features in java?
Why is string buffer better than string ?
Can we overload the main() method?
What is the difference between synchronized and synchronized block?
What is sorting in java?
What does %d do in java?
Can we declare a static variable inside a method?
Can we extend a class with private constructor?
What is a default constructor and also define copy contrucyor?
Can an interface be final?
What is the difference between overriding and overloading in OOPS.
What is the difference between comparison done by equals method and == operator?
Explain about public and private access specifiers?
What is collection class in java? List down its methods and interfaces.
What do you understand by classes in java?