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
how to change the title of my window?
Explain the difference between state server and sqlserver : Dot net architecture
Session State and can i store desirialized object in state server, if yes how and if not why.
Tell me .net mobile emulators? : Microsoft dot net mobile
how to delete the record using data reader
5. Wcf- Session Managment
Can I create my own metadata attributes?
What is MS chart control in visual studio?
What is .net mobile automatic paging? : Microsoft dot net mobile
Explain write back and write through caches? : Dot net architecture
Explain different pipelining hazards and how are they eliminated? : Dot net architecture
What are end points, contract, address and bindings?
What is the difference between an application and a program?
What is .net mobile images control. : Microsoft dot net mobile
Explain about code access security?