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

Why we use extension methods in c#?

812


Can we overload indexer in c#?

838


Why do we use parameters in c#?

903


What is gac? How to put assembly in gac?

943


What is AutoMapper in C#?

946


What are sorted lists?

845


How long will it take to learn c#?

911


Give 2 scenarios where static constructors can be used?

875


Explain the difference between private and shared assembly?

826


Can we inherit partial class in c#?

870


What are Uses of CLR

939


Does c# have a 'throws' clause?

967


Describe the process of “exception handling implementation” in c#?

908


What is out int in c#?

837


What is int16?

868