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

difference between Response.write,server.transfer and also which one is used when ?

1633


Describe the Managed Execution Process in .NET?

680


Define the mesi? : Dot net architecture

705


difference between data reader and dataset

1947


What is an asssembly qualified name? Is it a filename? How is it different?

670






Define cache? : Dot net architecture

705


how to change the application name?

1689


What are the types of memory management? : Dot net architecture

640


What does this do? Gacutil /l | find /i "corillian"

777


Explain the race around condition? How can it be overcome? : Dot net architecture

699


What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile

620


Explain the purpose of cache? How is it used? : Dot net architecture

717


what is inheritancy where u required ?

1699


How do I write to the application configuration file at runtime?

682


Explain about microsoft visual studio?

721