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 issues can be faced while delivering code?
What are reflections in c#?
What is gridview c#?
How do I create a new form in c#?
What is the use of static in c#?
What are logical operators in c#?
how to prevent a class from being inherited in c#.net?
Can mvc be used for desktop applications?
Can a class be protected in c#?
What is nullable types in c#?
Explain the role of Garbage collector and its generations?
What are circular references?
What is iformatprovider in c#?
Define thread? Explain about multithreading?
What is sorted list in c#?