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 / devarathnam c,kotagudibanda(po

Hi...
When u want to inherit the properties of base class only
(not other resources) go for Abstract class.
When u want to inherit the properties of base class and
other resources go for Interfaces .

Is This Answer Correct ?    42 Yes 34 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is nextline method in java?

1020


What is the difference between the size and capacity of a vector?

1027


What the difference is between execute, execute Query, execute Update?

826


can rmi and corba based applications interact ?

1074


Explain about fail fast iterators in java?

1055


You're given a Boolean 2D matrix, can you find the number of islands?

1084


How to create a thread in java?

1128


Can singleton class be serialized?

946


What is array initialization in java?

1077


Explain reverse a linked list recursive java solution?

977


What methods are used to get and set the text label displayed by a button object?

1005


Why do we need variables?

978


What is a instance variable?

1049


Why javac is not recognized?

931


Why java is said to be pass-by-value ?

1033