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 are three types of loops in java?

1197


How can we run a java program without making any object?

1090


Can we overload destructor in java?

1048


What are the different ways of implementing thread? Which one is more advantageous?

1040


What is reflexive association?

1876


Can we sort set in java?

1011


What's the difference between int and integer in java?

1232


Can we override static methods in java?

1122


Can an interface be defined inside a class?

1106


Which is bigger double or float?

1031


What are keywords in programming?

1070


What is meant by interface?

1105


Explain about assignment statement?

1071


What is string pool in java?

1073


What are filterstreams?

1116