Answer Posted / devendra.m
Both Absstract classes and interfaces can be used when there
is a difference in subclass types.
When subclass type is totally different then implement the
interfaces.When subclass type is partially common in the
super type then extends the abstract class.Internally some
comman behaviour is there incase of abstract classes.
incase of interface we can achieve multiple inheritace.but
incase of classes we can not achieve multiple inheritace.
Is This Answer Correct ? | 9 Yes | 3 No |
Post New Answer View All Answers
what is thread? : Java thread
What are jee technologies?
How do you override a variable in java?
What does @param args mean in java?
What is string in java? String is a data type?
What does flagged out mean?
What do you understand by the term string pool?
What is the difference between jfc & wfc?
Can a class extend 2 classes in java?
How to access arraylist elements in java?
What is method overriding in java ?
How do you take thread dump in java?
What is difference between pointer and reference?
What does this () mean in java?
How do you reverse a string in java?