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 / surendra

Always prefer to interface until you are not sure the behavior
of operations.

chose the abstract class if you are sure for some common behaviors need to share of all objects.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the advantages of unicode?

1012


Does substring start with 0?

990


When will we use them?

1057


What is the purpose of javac exe?

1098


is there a separate stack for each thread in java? : Java thread

981


what is thread? What are the high-level thread states? : Java thread

1278


Why is it called a string?

1012


Can you use abstract and final both with a method?

1102


What is the difference between access specifiers and access modifiers in java?

1179


What is java oops?

1092


How do you use compareto method?

1021


What is a classloader in java?

1030


What purpose do the keywords final, finally, and finalize fulfill?

1095


What does a za z0 9 mean?

1106


Can singleton class be inherited in java?

1009