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 we will use an Interface and Abstract class?

Answer Posted / devendra.m

Both Absstract classes and interfaces can be used when there
is a difference in subclass types.
When subclass type is totally different then implement the
interfaces.When subclass type is partially common in the
super type then extends the abstract class.Internally some
comman behaviour is there incase of abstract classes.
incase of interface we can achieve multiple inheritace.but
incase of classes we can not achieve multiple inheritace.

Is This Answer Correct ?    9 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which class should you use to obtain design information about an object in java programming?

1132


What is a percentage sign called?

1191


Explain access specifiers?

1239


Define an enumeration?

1095


Explain the difference between static and dynamic binding in java?

1113


Difference between final and effectively final ?

1172


Is java developer a good career?

1082


What is a top level class in java?

1086


What is nested loop? What is dangling else condition in it?

1135


What is an class?

1091


What is object class in java?

983


Can we have a try block without catch block?

1052


What is array initialization in java?

1183


Explain about member inner classes?

1156


how to deploy tomcatserver to weblogic server? write d following steps?

2006