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
How can I have a particular web page in an asp.net application which displays its own error page?
Which data type does the rangevalidator control support?
benefits of migration from asp to asp.net hi frnds, i have to give presentation to a client about how useful would be migrating their project from asp to asp.net .plz give me some points which i should incorporate in my ppt thanks
Explain what is event bubbling?
What is difference between or and orelse?
What is http request and response?
Explain about Automatic resource management?
What are the 3 types of web?
Write code to send e-mail from an asp.net application?
Whats the difference between abstract factory pattern and factory pattern?
List the advantages and disadvantages of user control an custom control?
What is the maximum timeout we can set for Cookies?
Explain the difference between response.redirect vs server.transfer
List the types of authentication supported by asp.net?
What is difference Between Authentication and authorization?