Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is a method in coding?

1061


What are the main differences between notify and notifyAll in Java?

1094


How does callback work in java?

1071


What are the features in java?

1076


Explain the selection sort algorithm and state its time complexity?

1021


What is the difference between state-based unit testing and interaction-based unit testing?

944


Is arraylist zero based?

1073


What is a file pointer?

1085


How many tetrahedral voids are there in bcc?

1098


Is string pool garbage collected?

1019


Write a program in java to calculate the difference between the sum of the odd level and even level nodes of a binary tree.

1065


Which variable is the independent variable?

984


Which is faster set or list in java?

1036


What is string and example?

1045


What methodology can be employed to locate substrings inside a string?

959