Can we inherit an abstract class in another abstract class.
If no why and If yes how..?
Answer Posted / sudipta
Yes, we can inherit an abstract class in another abstract
class.
Suppose we have two abstract class.one is parent and
antoher is child.
namespace ClassCollection
{
abstract class Absparent
{
public abstract void Method1();
}
abstract Class AbsChield: Absparent
{
public abstract void Method2();
}
public Class ImplementedClass: AbsChield
{
here we can get two methods of abstact class
(Absparent,AbsChield)
public override void Method1()
{
}
public override void Method2()
{
}
}
}
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is method and function in c#?
Why do we use inheritance in c#?
What is decimal in c#?
What is delegate in c# interview questions?
What does void do in c#?
Does c# have primitives?
What is class method c#?
What is a di class?
how dot net compiled code will become platform independent?
What is a interface in c#?
What is a type c#?
In which way a two-dimensional array declared in C#?
Difference between abstract classes and interfaces
Explain the features of an abstract class in net.
What is application c#?