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...

what is overloading & overriding

Answer Posted / ashish

Overloading is a concept in OOPS where we have a similar
methods of same name but diferent signature.The return type
may be same or different but the signature has to be
different.It is an example of static polymorphism.

Overriding is a conecpt where we have the same method
(signature and return type) both is child class and parent
class. Now why we have the same method ? You will have that
thing happen when you want to add more funtionalities to a
method corresponding to your child class. This is an
example of runtime polymorphism

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

2. What happened when BO object has been called?

1986


What is the use of dll file in c#?

905


What is a bool in c#?

876


What is a three-tier application.

1057


What is firstordefault c#?

949


Can we instantiate abstract class in c#?

899


Who benefits from ajax?

990


How the versioning applies to Assemblies or can you explain version numbers?

1039


What is var c#?

1012


Is constructor a static method?

1006


List down the different ide’s provided by microsoft for c# development.

894


What is parsing?

937


What are the 2 types of data types available in c#?

902


What is uint c#?

918


Explain the steps to create satellite assembly?

905