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

Can user control be stored in library?

905


What is the difference between mechine.config and web.config?

1229


What is a session in programming?

1090


What are the different types of proxy patterns?

1165


How do you store a value in viewstate and retrieve them?

1018


Can we set which type of comparison we want to perform by the CompareValidator control?

1035


How many types of controls are there in asp.net?

1024


What parameters can you pass in the url of the api? Can get and post use the same url?

996


What is content place holder?

968


Is it possible to write code in many languages in one asp.net project?

1033


Explain Features in ASP.NET

1093


What are the 3 types of web?

923


Whta are the Various steps taken to optimize a web based application (caching, stored procedure etc.) ?

1051


Why do we use web config?

944


If 200 is for all successful operation then why do we have 201 response codes?

922