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

Difference between Overloading and Overriding?

Answer Posted / janet

1. In overloading,there is a relation ship between methods
available in the same class where as in overridding,there
is relationship between a super class method and subclass
method.
2. overloading doesn't block inheritence from the
superclass where as overridding blocks inheritence.

3. in overloading,seperate methods share the same name
where as in overridding,subclass methods replaces the
superclass.

4.overloading must have different method signatures where
as overriding must have same signature.

Is This Answer Correct ?    482 Yes 79 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is std :: flush?

1083


What is iterator in c++?

1123


What is a storage class? Mention the storage classes in c++.

1026


the first character in the variable name must be an a) special symbol b) number c) alphabet

1100


Does c++ support exception handling?

1073


What is the purpose of the "delete" operator?

1069


Describe protected access specifiers?

1239


What is the use of structure in c++?

1040


Should you pass exceptions by value or by reference?

1138


Is multimap sorted c++?

1015


Why do we use vector in c++?

1083


What is the use of "new" operator?

1137


What gives the current position of the put pointer?

1002


How would you use the functions sin(), pow(), sqrt()?

1195


What is the extraction operator and what does it do?

1086