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 package is math in java?

996


Explain restrictions for using anonymous inner classes?

1090


How to make a non daemon thread as daemon?

1056


Is java ee a framework?

979


What is hashmap in java?

1057


How can you make a class serializable in java?

987


Why do you canvas?

1039


Can we call thread start () twice?

960


how to create multithreaded program? Explain different ways of using thread? : Java thread

978


Differentiate between static and non-static methods in java.

1042


Is null an object in java?

1029


Can we declare the static variables and methods in an abstract class?

990


What is difference between static class and normal class?

1109


What is a local, member and a class variable?

1033


Can an interface extend a class?

981