when to for abstract class and when to go for interface
Answer Posted / chandra d
If your class design has multiple implementations then we
can go for Interface.
if your class design is having some specific features and
some other features may change .. then we can go for
Abstract class
| Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What are three types of loops in java?
How can we run a java program without making any object?
Can we overload destructor in java?
What are the different ways of implementing thread? Which one is more advantageous?
What is reflexive association?
Can we sort set in java?
What's the difference between int and integer in java?
Can we override static methods in java?
Can an interface be defined inside a class?
Which is bigger double or float?
What are keywords in programming?
What is meant by interface?
Explain about assignment statement?
What is string pool in java?
What are filterstreams?