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
Is c# used for any core features of windows vista?
How does insertion sort work?
in object oriented programming, how would you describe encapsulation?
What does return do in unity?
If dll and exe files are same it means you can deploy both the files in gac?
What is an assembly qualified name? Is it a filename? How is it different?
What is ado c#?
How can I access the registry from c# code?
What do you mean by streamreader/streamwriter class in c#?
What are the different types of delegates?
What are Regex / regular expressions ?
What are verbatim strings in c#?
Is c sharp and c# are same?
Name some properties of thread class.
What is the difference between list and dictionary in c#?