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 / sunitha

Interface - All Methods in the Interface are abstract
Methods.So the Access Modifier is public by default which
helps the Class ABC Implementing the Interface to define
the code for the methods

Abstract - > Protected Methods can be defined & implemented
in Abstract Class. This class does some implementation of
its own & leaves the remaining implementation to the
Derived Class

1.Multiple Inheritance is possible through Interface only.
2.If we add any new method in the interface, then all the
derived class has to be altered to include the
implementation of the method.
3.Interface is on the Top Level

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Expalin the way you implement inheritance by using VB.NET/C#?

969


What is the difference between field and property in c#?

936


Is visual c# free?

914


Why do we use interfaces in c#?

939


How can you set image source dynamically from c# application to ”test.png” file?

1079


What is xpath in c#?

968


What is the difference between hashtable and dictionary?

955


What are the methods in c#?

964


How to add a readonly property in c#.net

938


What is COM Interoperability?

962


How to Show Message box in Metro Style App?

1026


In which way you can convert a value-type to a reference-type?

973


What are the Types of configuration files and their differences

1081


Can hashset contain duplicates c#?

953


What is an assembly qualified name

1065