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

Int map to which .net types?

969


What does namespace mean?

886


Perfect Example Of While And Do-While Loop In C#.Net ?

928


what are windows services?

936


Illustrate the process of code compilation in c#?

871


Suppose two interfaces have same method, so how will you implement these methods in derive class?

909


In which order the destructor is called for an inherited class?

919


Major difference between Basic httpbinding and WShttpbinding?

996


What is the default value of datetime in c#?

911


How would you describe encapsulation in c#?

841


Can we inherit class that contains only one private constructor?

890


What do you know about WM_CHAR message?

922


What is system console writeline in c#?

943


Is there an equivalent of exit() for quitting a c# .net application?

903


What is meant by enumerable in c#?

896