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

What?s the difference between an interface and abstract class?

Answer Posted / narender reddy soma

Apart from usual differences between class and interface,
An abstract class is abstract in nature meaning - You can
have abstract methods and concrete as well.So what? you can
provide the generic implementation in concrete method and
leave abstract methods to sub class for
customization.Sounds good?

So, being abstract class it can exist as customized
implementation of its sub class.Not alone as it has
abstract method which doesnt have implementation hence
making it incomplete.

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 an inheritance in c#?

842


What is the difference between “out” and “ref” parameters in c#?

931


Why do we use void in c#?

808


What is difference between ienumerable and list?

922


How you will create satellite assemblies?

887


What is the difference between ienumerable and enumerator?

852


What is generic delegates in c#?

914


What does args mean in c#?

838


What is the difference between abstract and virtual?

845


Explain lock, monitors, and mutex object in threading.

858


Are c# strings null terminated?

963


Is array thread safe c#?

818


How do you prevent a class from being inherited?

864


What is object array in c#?

922


What are static and dynamic variables?

1084