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...

Which among the following two is best and why? Abstract
Class and Interface. What is the major difference in between
those two except the discrete methods and methods with
function definition.

Answer Posted / anitha

a)for Future, we can provide extra services in Abstract
Class ,these futures can able to access all of its
Clients. And also it supports reusability.
suppose the implementer need not provide implementation
for all the methods.

Where as in Interface we don’t have this future(reusability
and extra servicess).
each implementer need to provide
implementation for all the methods and
also we cont provide extra services in
future.The interface should be constant.


b)Interface can support multiple inheritance where as
abstract class does not.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the use of activex control in .net?

992


Explain me what is the .net framework and how does it work?

1012


Tell us the difference between managed and unmanaged code?

955


What are the differences between com architecture and.net architecture?

987


Differentiate between 'DataSet' and 'SQLDataReader' in ADO.NET?

1072


Describe difference between inline and code-behind?

1053


What tools can I use to develop .net applications?

953


What is the difference between asp.net & vb.net and explain architecture?

998


What are the features of dot net?

1049


Explain about Behavioral design pattern?

1027


What is boxing and un-boxing in .net?

1013


How to load the contents of an xml file into an xmldocument object?

987


The project which you have made, which methodology did you use?

1003


Difference between machine.config and web.config?

977


How is threading done in .net?

952