where u use Abstraction and Interface in real time
Answer Posted / teja
When ever there is need of having same common features
among the subclasses of of super class we have to go for
AbstractClass,
When ever there is no common features for subclasses of
super class we have to go for interface
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What package is math in java?
Explain restrictions for using anonymous inner classes?
How to make a non daemon thread as daemon?
Is java ee a framework?
What is hashmap in java?
How can you make a class serializable in java?
Why do you canvas?
Can we call thread start () twice?
how to create multithreaded program? Explain different ways of using thread? : Java thread
Differentiate between static and non-static methods in java.
Is null an object in java?
Can we declare the static variables and methods in an abstract class?
What is difference between static class and normal class?
What is a local, member and a class variable?
Can an interface extend a class?