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
Why is .net so popular?
In C#, explain the difference between overloading and overriding.
What is byte c#?
Is c# and .net same?
What are the advantages of generics in c#?
Explain About CLS?
What are the 3 different types of arrays?
What are satellite assemblies? How will you get the different language strings?
4. Describe the process when we send a request URL? And who is responsible for that?
What does executescalar return in c#?
What is xml serializer?
Can we extend static class in c#?
Define property in c#.net?
What is dependency injection in simple words?
Can we customize the serialization process?