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...

when to use abstract class and when to use interface?

Answer Posted / devarathnam c,kotagudibanda(po

Hi...
When u want to inherit the properties of base class only
(not other resources) go for Abstract class.
When u want to inherit the properties of base class and
other resources go for Interfaces .

Is This Answer Correct ?    42 Yes 34 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What do you mean by synchronized non access modifier?

1046


What is core java called?

1023


Is java call by reference?

1020


Is java map thread safe?

1019


What do you mean by jjs in java8?

1061


What is the difference between Error, defect,fault, failure and mistake?

1244


Make a data structure and implement an algorithm to print all the files in a directory. (The root directory can have sub-directories too.)

1379


Why is a singleton bad?

1006


Why pointers are not used in java?

1181


do I need to use synchronized on setvalue(int)? : Java thread

1054


Explain aggregation in java?

1017


How do you remove duplicates from an array in java?

1012


What is generic type?

1079


What is java Applet?

1153


What is the relationship between class and object?

1092