Difference between abstract class and interface

Answer Posted / chetan s

1. Interface comes in Inheritance chain while Abstract not
2. One class can inherit muliple interface but it can't
inerit mulitple abstract class
3. Abstract class can have concert method but interface
can't.
4.An abstract class can contain fields, constructors, or
destructors and implement properties. An interface can not
contain fields, constructors, or destructors and it has
only the property's signature but no implementation.
5.Abstract classes are faster than interfaces.

Is This Answer Correct ?    108 Yes 41 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a managed code? : Dot net architecture

753


how to use custom field validation

2264


What are the five stages in a dlx pipeline? : Dot net architecture

749


What is WPF and WCF?

778


What is .net mobile images control. : Microsoft dot net mobile

705


Describe the Managed Execution Process in .NET?

719


Explain the five stages in a dlx pipeline? : Dot net architecture

722


What is the purpose of Accordian in jquery? Where it can be used?

2089


What is textbox control of .net mobile? : Microsoft dot net mobile

831


Explain element .net mobile with example? : Microsoft dot net mobile

764


How does an appdomain get created?

746


What are the options provived by vss to the user? how it will help us while delevoping application?

1992


What is a virtual memory? : Dot net architecture

737


What is gui programming? : .NET Architecture

723


Explain dotnet framework ?

722