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
How do I declare inout arguments in c#?
What is binary search tree in data structure?
Explain constructor in c#?
What is disco?
Does a loop recorder have to be removed?
Is c# or c++ better for games?
How to find type of variable?
Explain partial class in c#?
What is different between Implicit conversion and Explicit conversion in C#?
What is the difference between properties and indexer in c#?
What is parallel foreach in c#?
Define parsing? Explain how to parse a datetime string?
What is the namespcae generally given to the webpage of the .NET Framework ?
What does private void mean in c#?
Which is better javascript or c#?