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

why Interface used?

1030


What is exception in java?

1162


What is difference between printf and scanf?

1227


Why do we use variables?

1045


What is mnemonic code?

1076


Justify your answer that you can't define a method inside another method in java, if you can then how?

1268


What do you understand by overloading and overriding in java?

1122


What is a function in programming?

1100


What is the difference between a switch statement and an if statement?

1137


Why webdriver is an interface?

1091


What is a classloader in java?

1063


What is oop principle in java?

1264


What is collection class in java?

1052


Tell me about different OOPS concepts.

1053


What is the difference between private & public & friendly classes?

1112