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...

how can i inharit multiple classes?

Answer Posted / ratnesh

If u want to multiple inheritance via classes then u can do
this ..

class A
{
Method1(){}
}

class B:A
{
Method2(){}
}


And now create third class suppose C and Inherit it from
class B.Now class C have both methods Method1 of A and
Method2 of B.

class C:B
{

}

Is This Answer Correct ?    1 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can we register exception filter from the action?

1083


What is parse in asp.net?

1081


What is css and what is it used for?

1003


What is the state management in asp.net?

1022


What are the properties of the eventargs argument when capturing keyboard events?

1078


How can you access the properties and controls of master pages from content pages?

1008


Which asp.net objects encapsulate the state of the client and the browser?

1090


What is session in http request?

1005


What does session_start () do?

1099


What is the purpose of session management?

1005


Define asp.net caching?

1167


Differentiate between file-based dependency and key-based dependency.

938


What is the difference between file-based dependency and key-based dependency?

1068


Which is better asp.net or php?

1034


How does the cookies work in asp.net?

1166