An abstract class is inherited, an Interface also
inherited(multiple inheritance), How it differences.

Answer Posted / priya arun

abstract class is just like a normal class ,but we can't
instantiate an abstract class.
One class can inherit one abstract class.

but interface is just define the signature..it doesnt have
any body.So the methods declared in the interface must
implement in the derived class.

Once we defined the interface any number of class can
implement it...

a class can implement more than one interface also.Through
this also we can achieve multiple inheritance in .net.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the difference between // comments, /* */ comments and /// comments?

578


What is the difference between interface and functional interface?

581


What is difference between association, aggregation and inheritance relationships?

581


What are the types of class in c#?

597


What is the use of 0 in c#?

612






What does the dispose method do with the connection object?

616


Is overriding of a function possible in the same class?

545


What are the 2 broad classifications of data types available in c#?

553


Can we make a Static Constructor Parameterized? Give Reason with your answer

643


What is an enumerator in c#?

612


Explain about CTS?

629


What are immutable types in c#?

573


Explain different properties of object oriented systems.

534


How many types of namespaces available in version4?

598


Why we use dll in c#?

624