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 distributed system in asp.net?
What is Pre-Render event in ASP.NET?
What is http post action?
When maintaining session through sql server, what is the impact of read and write operation on session objects?
Write the different features of a Thread and a Process?
What is the adavantage of using ASP.NET routing?
How do you initiate validation on the server manually? What are two situations when you might you want to do that?
What are validators and list some validators of asp.net?
In which event are the controls fully loaded?
I am trying to implement sorting facility from client side code in GridView Control. So how can I fill up an Array inside client side code (using JavaScript), i want to assign my DataSet object declared and filled up on Server side(in code behind) to the array (on client side)
Differentiate between a page theme and a global theme?
What is Forms Authentication in ASP.NET?
What are the advantages of asp.net?
How do u declare static variable and how it is declared and what is its lifetime?
What is the use of execute non query in asp.net?