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


Please Help Members By Posting Answers For Below Questions

What are the different types of constructors?

506


What is dictionary and hashtable in c#?

466


What is a reference type c#?

513


What is the difference between select and selectmany?

432


List some of the common data providers for ado.net framework?

452






How many types of polymorphism are there?

498


Why do we use virtual methods in c#?

483


Why do we use parameters in c#?

500


C# called c sharp why?

548


How C# 4.0 supports dynamic programming language?

569


What is the benefit of using interface in c#?

497


Is there a way of specifying which block or loop to break out of when working with nested loops?

542


Can fields inside a class be virtual?

538


Is c# or c++ better for games?

462


How assembly versioning in .NET prevent DLL Hell problem?

510