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

How do I declare inout arguments in c#?

540


What is binary search tree in data structure?

481


Explain constructor in c#?

687


What is disco?

520


Does a loop recorder have to be removed?

597






Is c# or c++ better for games?

470


How to find type of variable?

548


Explain partial class in c#?

503


What is different between Implicit conversion and Explicit conversion in C#?

520


What is the difference between properties and indexer in c#?

440


What is parallel foreach in c#?

551


Define parsing? Explain how to parse a datetime string?

511


What is the namespcae generally given to the webpage of the .NET Framework ?

604


What does private void mean in c#?

544


Which is better javascript or c#?

508