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
difference between Response.write,server.transfer and also which one is used when ?
Describe the Managed Execution Process in .NET?
Define the mesi? : Dot net architecture
difference between data reader and dataset
What is an asssembly qualified name? Is it a filename? How is it different?
Define cache? : Dot net architecture
how to change the application name?
What are the types of memory management? : Dot net architecture
What does this do? Gacutil /l | find /i "corillian"
Explain the race around condition? How can it be overcome? : Dot net architecture
What is .net mobile utility controls. Explain with an example? : Microsoft dot net mobile
Explain the purpose of cache? How is it used? : Dot net architecture
what is inheritancy where u required ?
How do I write to the application configuration file at runtime?
Explain about microsoft visual studio?