Contrast the use of an abstract base class against an interface?
Answer Posted / abhishek
Basically both Interfaces and Abstract class sit on top. An
abstract class can have defintion and body. It's also used
when we need to implement polymorphism (Contain at least one
virtual method). However an interface contains only
declaration.
An Abstract inherit a class, an abstract class and implement
an interface. But interface can only implement another
interface.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is rending process in ASP.NET?
Explain how asp.net page works?
What is hidden field in asp.net?
What is the difference between “Web.config” and “Machine.Config”?
What are the types of session in asp.net?
What is authorization in asp.net?
Which library is used by the testers and developers to develop automated tests and create testing tools?
Which platform does Microsoft .NET use for exchanging data between applications?
What is the difference between application state and caching?
How does http session work?
How is application management and maintenance improved in asp.net 2.0?
What does a switch do?
What is user control in asp.net?
What is the default Orientation property in a Menu control?
What is the maximum number of classes that can be contained in one dll file?