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 / sumit kumar

if your class design have some common and some different
behavior then go for - abstract class
if your class design have only different behavior then go
for interface.

Is This Answer Correct ?    12 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a java string?

1065


What is used of static keyword in java?

1061


What is final variable?

934


What are the Class Libraries ?

1038


How many types of methods are there in java?

999


Give the difference between the println method and sqrt method?

1080


What is the difference between a choice and a list?

1074


How is hashcode calculated in java?

1020


What is <> used for in java?

1106


What is the difference between yielding and sleeping in java programming?

1147


What's the access scope of protected access specifier?

1024


What does n mean in java?

959


What are the three types of design patterns?

952


How do you change an int to a string?

992


What is an argument java?

962