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

Explain domestic architecture artifacts? : .NET Architecture

506


I want to create a project like google maps how can we do that with atlas?

479


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.

14060


Explain pipelining? : Dot net architecture

590


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

506






how we can fire event in databound column in datagrid without using button?

588


server.transfer limitation ?

1787


Explain the race around condition? How can it be overcome? : Dot net architecture

520


What is Object Caching in Visual Studio 2010?

597


hi, kindly send WWF(.net 3.5) pdf notes to my id. thanx in advance, chays

1883


What are different types that a variable can be defined and their scopes ?

597


what is sessions and cookies take one example simple way to understand

1855


how to create applications by using Visual Studio 2012?

573


Differnce between managed code and unmanaged code ?

522


What happens when you try to update data in a dataset in .net while the record is already deleted in sql server as backend?

511