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

What do you mean by overhead in c++?

1036


Write a program to show polymorphism in C++?

1082


Write a program for Divide a number with 2 and Print the output ( NOTE: Check for divide by zero error).

1060


What is the this pointer?

1075


What are the advantages of using pointers in a program?

1096


What is c++ and its uses?

1157


Is map ordered c++?

1048


write asingle linked list which read from two list & the do the following 1 sort the prime & nonprime num (prime should be less tn nonprime) 2 each node has a prime num followd by nonprime 3 add a new node into its sutable plce 4 erase the most three duplicated non prime num 5 find the least duplicated prime num

2584


What is wrapper class in c++?

1045


Write some differences between an external iterator and an internal iterator? Describe the advantage of an external iterator.

1021


What are the five basic elements of a c++ program?

1051


What are the advantages of inheritance in c++?

1048


Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?

2453


Explain what is oop?

1013


Name the operators that cannot be overloaded in C++?

1005