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

Do you know using sql cache invalidation?

972


what are the security certificates used in webservices?

1953


How to fetch a data from one table to another table in asp.net ?

1007


What is user control in asp.net?

1030


How to turn off cookies for a page?

955


What are the benefits of view state?

902


Is asp.net mvc still used? : Asp.Net MVC

939


Why do we need url encoding?

929


How do you remove duplicates without using remove duplicate stage?

1001


What are server activated objects?

1099


How to display Alert in ASP.NET

1099


what is a .xap file? Explain with an example.

982


How can I configure asp.net applications that are running on a remote machine?

1013


What is mvc in asp.net interview question? : Asp.Net MVC

924


Define data caching?

874