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

How do we implement inheritance in c++?

1132


What is a pointer with example?

1261


Does dev c++ support c++ 11?

1018


Difference between struct and class in terms of access modifier.

1193


Is nan a c++?

1150


If a base class is an adt, and it has three pure virtual functions, how many of these functions must be overridden in its derived classes?

1080


What is stoi in c++?

1181


What are containers in c++?

992


Is map ordered c++?

1097


What is the difference between delegation and implemented-in-terms-of?

1006


Implement stack operations with pointers with appropriate exception checks.

978


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

1009


Explain the problem with overriding functions

1161


Describe private, protected and public?

1081


What is the identity function in c++? How is it useful?

1054