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 method in coding?
What are the main differences between notify and notifyAll in Java?
How does callback work in java?
What are the features in java?
Explain the selection sort algorithm and state its time complexity?
What is the difference between state-based unit testing and interaction-based unit testing?
Is arraylist zero based?
What is a file pointer?
How many tetrahedral voids are there in bcc?
Is string pool garbage collected?
Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.
Which variable is the independent variable?
Which is faster set or list in java?
What is string and example?
What methodology can be employed to locate substrings inside a string?