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 are data types with examples?

935


What is a int in c#?

840


What is dataview c#?

817


What are the main reasons to use c# language?

901


what is generics? can u explain 5 to 6 examples on generics that covers class,method,structure,list,delegates?

1893


Why ienumerable is used in c#?

838


What is a hash table c#?

837


How do we achieve encapsulation in c#?

899


Explain how many types of exception handlers are there in .net?

903


What is the difference between package and interface?

883


Explain the difference between abstract class and interface in .net?

870


Are there functions in c#?

916


What are circular references?

900


What are strongly typed objects?

878


What's your approach to fetch static data in your windows form application?

954