Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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 is get set in c#?

927


What is difference between managed and unmanaged code?

946


Can class inherit from struct c#?

930


What is #region in c#?

896


What is appdomain in c#?

848


Can structs in c# have destructors?

920


Explain “static” keyword in c#?

843


Explain the difference between Metadata and Manifest

900


What are the differences between system.string and system.text.stringbuilder classes?

959


What is Inheritance in C#?

1105


What is value c#?

793


What's the difference between System.String and System..StringBuilder in C#?

937


What is parameters in c#?

899


Is the following code legal?

938


what is the index value of the first element in an array?

892