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 the access scope of a protected method?
How to access arraylist elements in java?
Given a singly linked list, how will you print out its contents in the reverse order? Can you do it with consuming any extra space?
Does java have extension methods?
Is string pool garbage collected?
What is quick sort in java?
What is mutable object and immutable object?
What is initial size of arraylist in java?
Can a static block throw exception?
Why does it take so much time to access an applet having swing components the first time?
What is variable and rules of variable?
What are the four versions of java?
How do you convert string to int in java?
What are the parts of methodology?
What is heterogeneous in java?