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
Explain About delegates
What is the difference between parse and tryparse in c#?
What is dictionary and hashtable in c#?
If casting fails what type of exception is thrown?
Explane each and every methods of nterface Queue? Explain About performance issues on retrieving records
What's the difference between the debug class and trace class? Documentation looks the same.
Do events have return type c#?
Are there constructors in c sharp?
What is thread life cycle in c#?
Does a loop recorder have to be removed?
Is it possible to inherit multiple interfaces?
What is helper method in c#?
Can hashset contain duplicates c#?
What is thread.sleep()?
What is the difference between dll and lib?