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
What is a managed code? : Dot net architecture
how to use custom field validation
What are the five stages in a dlx pipeline? : Dot net architecture
What is WPF and WCF?
What is .net mobile images control. : Microsoft dot net mobile
Describe the Managed Execution Process in .NET?
Explain the five stages in a dlx pipeline? : Dot net architecture
What is the purpose of Accordian in jquery? Where it can be used?
What is textbox control of .net mobile? : Microsoft dot net mobile
Explain
How does an appdomain get created?
What are the options provived by vss to the user? how it will help us while delevoping application?
What is a virtual memory? : Dot net architecture
What is gui programming? : .NET Architecture
Explain dotnet framework ?