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 / ranjana chakraborty

Overloading Vs. Overriding

Overloading is nothing but static binding.

Overriding is dynamic binding which will be resolved at run-time.





Overloading deals with multiple methods in the same class with the same name but different signatures.

Overriding deals with two methods, one in a parent class and one in a child class, that have the same signature.





Overloading lets you define a similar operation in different ways for different data.

Overriding lets you define a similar operation in different ways for different object types.

Is This Answer Correct ?    7 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Implement stack operations with pointers with appropriate exception checks.

1023


What is difference between n and endl in c++?

1144


How do you flush a buffer in c++?

1144


What can I use instead of namespace std?

1201


What is an associative container in c++?

1107


Can constructor be static in c++?

1167


Can we get the value of ios format flags?

1185


What is meaning of in c++?

1293


Explain the difference between c & c++?

1140


What is std :: flush?

1132


What is null c++?

1181


What is polymorphism in c++? Explain with an example?

1103


If a header file is included twice by mistake in the program, will it give any error?

1108


What is the use of 'this' pointer?

1300


What is the difference between object-oriented programming and procedural programming?

1305