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

Explain About delegates

675


What is the difference between parse and tryparse in c#?

566


What is dictionary and hashtable in c#?

546


If casting fails what type of exception is thrown?

564


Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records

686






What's the difference between the debug class and trace class? Documentation looks the same.

577


Do events have return type c#?

598


Are there constructors in c sharp?

649


What is thread life cycle in c#?

568


Does a loop recorder have to be removed?

691


Is it possible to inherit multiple interfaces?

620


What is helper method in c#?

579


Can hashset contain duplicates c#?

547


What is thread.sleep()?

590


What is the difference between dll and lib?

579