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 is a vector in java?
What are the advantages of java?
Explain about main thread in java?
What is the java virtual machine?
What is a class instance variable?
What is the synonym of framework?
How do you convert an int to a string in java?
How do you get the length of a string in java?
What are functions in java?
What is an interface in java?
Can you call one constructor from another if a class has multiple constructors?
What is canonical name in java?
What is a final class in java?
What is skeleton and stub?
Are arrays passed by reference in java?