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 single dimensional array in c#?
What is difference between array and arraylist c#?
What is mean by c#?
Explain what is the smallest unit of execution in .net?
What is difference between struct and class in c#?
What is the difference between method overriding and method overloading?
Define method overloading in c#?
What's difference between constants and static readonly?
What is the difference between console and windows application?
What is the main purpose of linq?
how to Create a datagridview control with check box column with 8rows in it, the maximum number of check boxes checked should be 3, when user checks the 4th corresponding message should be displayed and check box should be checked. User can uncheck the checked boxes Note: read-only property should not be used
How do you concatenate in c#?
What is difference between sleep () and wait ()?
What is icomparer in c#?
Is there hashmap in c#?