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
Is asp.net and .net same?
What are the steps involved to fill a dataset?
Do session use cookies in asp net?
Explain what is an assembly?
What is meant by ispostback in asp net?
What is the life cycle of web page?
When you use Ajax controls in the ASP.NET application?
What are validator? How do you disable them?
What’s the catch?
What is authentication in asp.net?
How to do state management in ASP.NET?
Explain the difference between array and linkedlist?
What is http pipeline in asp.net?
Can I recieve both html markup for page and code in the asp.net web page's source code portion in the web browser?
What is the use of ASP.NET routing?