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 are the different types of constructors?
What is dictionary and hashtable in c#?
What is a reference type c#?
What is the difference between select and selectmany?
List some of the common data providers for ado.net framework?
How many types of polymorphism are there?
Why do we use virtual methods in c#?
Why do we use parameters in c#?
C# called c sharp why?
How C# 4.0 supports dynamic programming language?
What is the benefit of using interface in c#?
Is there a way of specifying which block or loop to break out of when working with nested loops?
Can fields inside a class be virtual?
Is c# or c++ better for games?
How assembly versioning in .NET prevent DLL Hell problem?