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

If you have to implement all of the fuctionalities provided
by, then in this case you should use interfaces because
they force you to implement all of the methods.

on the other hand if you think you have to imlement few of
them , then better you use abstract class.

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of a copy constructor?

986


What is xslt in java?

972


What is immutable in java?

1059


What is the method in java?

1092


How many bytes is a unicode character?

996


Why do we need strings in java?

983


What is stream api in java8?

1165


What is parsing a sentence?

1075


What is class variable java?

1006


What is difference between local variable and global variable?

1012


What is use of set in java?

992


What is final method?

1063


What is meant by tab pans?

1229


Is ruby built on java?

947


Can we sort array in java?

941