Difference between abstract class and interface

Answer Posted / mahendra pratap singh

An Abstract Class can contain default Implementation, where
as an Interface should not contain any implementation at
all. An Interface should contain only definitions but no
implementation. where as an abstract class can contain
abstract and non-abstract methods. When a class inherits
from an abstract, the derived class must implement all the
abstract methods declared in the base class. an abstract
class can inherit from another non-abstract class.

Is This Answer Correct ?    42 Yes 13 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain the purpose of cache? How is it used? : Dot net architecture

734


Explain the five stages in a dlx pipeline? : .NET Architecture

681


What is the purpose of hard disk? : Dot net architecture

701


.Net Frame work arch?

1789


The maximum report processing jobs limit configured by your system administrator has been reached.How I can Solve this problem when i using crystal report to load from my application.

14511


What are the five stages in a dlx pipeline? : Dot net architecture

719


Explain Singleton design pattern in .net

742


Can I customise the trace output?

825


How resource files are used in .net?

743


What is an interrupt? : Dot net architecture

700


What is ILDASM ?

864


Explain .net mobile selectionlist control? : Microsoft dot net mobile

708


How can I create a application?

687


What is difference between Desktop, Client Server & Web based applications?

735


How do I write to the application configuration file at runtime?

697