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

How do I convert a string to an int in java?

1011


What do you mean by composition in java?

950


whatis Home interface and Remoteinterface? with example?

1944


Explain differences between checked and unchecked exceptions in java?

1016


What is the difference between path and classpath variables?

965


Why array is used in java?

909


What are thread groups?

934


Can you inherit a constructor java?

1019


How many java versions are there?

997


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

982


Do I need java on my pc?

976


What is jit compiler ?

940


Which is bigger double or float?

910


Can an object subclass another object?

1019


What is return type in java?

1010