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 is the difference between Abstract and Interface?

Answer Posted / muhammad hussain wazir pakista

1: Abstract class contains abstract and non abstract methods
while interface contains all abstract methods.

2: Interface only contain definition of method no
implementation but Abstract class can have this quality.

3: We can not create object of abstract class.
4: We can create constructor and Destructure Abstract class
can while this can be do in Interface.
5: In interface all methods are abstract and have no keyword
of Abstract with method.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are custom exceptions in C#?

1072


Is linkedhashset synchronized?

1180


Why do we need properties in c#?

930


Why c# is called c sharp?

945


Structs are largely redundant in c++. Why does c# have them?

1303


How to override a function in c#?

1058


What is dependency in software?

990


What is console write in c#?

985


What is executereader in c#?

959


Can we have only “try” block without “catch” block in c#?

929


Define c# and list the features.

1082


What is entity framework c#?

909


What are boxing and unboxing?

970


What is interface inheritance?

987


How do you set a class path?

928