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

Should the this pointer can be used in the constructor?

970


What is conditions when using boolean operators?

1136


Describe private, protected and public?

1035


what are the events occur in intr activated on interrupt vector table

1663


Explain the difference between static and dynamic binding of functions?

996


What are c++ files?

1062


Can you sort a set c++?

948


What is an incomplete type in c++?

1208


Is set c++?

953


Write about the access privileges in c++ and also mention about its default access level?

1005


Are c and c++ different?

932


What is the use of dot in c++?

1024


What is the difference between the compiler and the preprocessor?

1048


If a function doesn’t return a value, how do you declare the function?

1002


Describe exception handling concept with an example?

984