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 for abstract class and when to go for interface

Answer Posted / chandra d

If your class design has multiple implementations then we
can go for Interface.
if your class design is having some specific features and
some other features may change .. then we can go for
Abstract class

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does substring mean?

934


Enlist few advantages of inheritance?

1030


Can java list be null?

955


Can static method access instance variables ?

1077


Can a class be declared as static?

1120


Is java programming easy?

945


What do you mean by light weight and heavy weight components?

978


Is java based on c?

944


What are the approaches that you will follow for making a program very efficient?

1018


What are the legal parameters?

950


What is a map in java?

939


When do I need to use reflection feature in java?

1015


What is the buffer limit?

989


When is the finally clause of a try-catch-finally statement executed?

996


How can we pass argument to a function by reference instead of pass by value?

1054