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

Difference between abstract class and interface

Answer Posted / amit sinha

a) Interface force class to implement all methods and
function for implement while as Abstarct class does not
force class , you can override method and fuction of base
class .
b) Interface contains method and function without
implemention with signature only while as Abstract class
contains method , function with implemention and signature
c) By default , method ,function and members is public in
nature within interface , while as In Abstract class ,
memebers can be protected as well private etc..
d) Interface supports Multiple inheritance while as
Abstract class does not support Multiple Inheritance
e)Abstract classes are faster than interfaces
f)you can prevent not required method to override in
Abstract class , but not in Interface

Is This Answer Correct ?    38 Yes 11 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the difference between l1 and l2 cache? : Dot net architecture

1025


Define a managed code? : Dot net architecture

1004


Explain hard disk? : Dot net architecture

1044


Explain about developer benefit from memory management?

1003


what are login controls?

1930


How can we perform data binding in atlas?

983


What are .net mobile controls features? : Microsoft dot net mobile

997


4. Wcf- what Asych and Sych call and how that works

1997


How does an appdomain get created?

1010


How will you do windows authentication and what is the namespace?

1110


Explain is development of a mobile web application with asp.net is very easy? : Microsoft dot net mobile

993


What is the cli? Is it the same as the clr?

1012


Use of Enable view state ? if turn off what happen ?

4566


What is application frame host?

1132


What is an interrupt? : .NET Architecture

942