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 have the method in drived class with the same name
which is there in base class?

Answer Posted / alcheringa

yes we can have that. in order to invoke the method of the
same name we use base keyword before the method name.

if the method in the base class is virtual, which is the
case in most of the abstract classes we actually override
the method in the derived class.

it is therefore not a constraint in any way.

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is foreach loop in c#?

970


What do you mean by for each loop?

925


Is multilevel inheritance possible in c#?

913


Define assert() method? How does it work?

1143


Explain how to implement an object pool in c#.net

961


What is .edmx file?

994


What are the different types of comments in c#?

882


What is the ouput of the following program?

979


Why array is faster than arraylist in c#?

996


How do I create a multi language, multi file assembly?

1066


Why does my windows application pop up a console window every time I run it?

982


Explain how to add controls dynamically to the form using c#.net.

982


What is reference types in c#?

989


What do you mean by generic class in c#?

942


What does ienumerable mean?

916