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 is the advantage of singleton class?

945


Which .gang of four. Design pattern is shown below?

921


What is JIT (just in time)? how it works?

1003


In gridview in editmode if we want to display information in one combobox based on

2300


What is the main method?

933


Differentiate between dataset and datareader?

965


What is marshalling and what are different kinds of marshalling?

915


What are interfaces in c#?

942


Explain About disco and uddi

1136


Does c# support try-catch-finally blocks?

862


What is the use of parse in c#?

905


Why hashtable is thread safe in c#?

1008


Explain the mechanism of VB.NET/C# achieve polymorphism?

1000


Is c# static or dynamic?

938


Why do we need reflection in c#?

915