Difference between abstract class and interface

Answer Posted / amulraj.m

1)An abstract class is a special kind of class that cannot be instantiated,An interface is not a class. It is an entity that is defined by the word Interface. An interface has no implementation; it only has the signature or in other words.
2)Abstract class should be used as base class.An interface is derived from all classes.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can I create a application?

521


Explain about developer benefit from memory management?

540


Explain about generation?

573


Are there any third party logging components available?

536


Explain pipelining? : .NET Architecture

551






Explain dotnet framework ?

528


Explain the use of virtual, sealed, override, and abstract.

575


Define an interrupt? : Dot net architecture

555


Explain difference between machine config vs. Web config : Dot net architecture

488


What is .net mobile images control. Explain with an example? : Microsoft dot net mobile

508


What is the application frame host?

528


Explain element .net mobile with example? : Microsoft dot net mobile

505


what is the method while we are using adapter and dataset ?

1377


data types used in validation control

1754


Explain about httpruntime.cach.get(); method?

575