Difference between method overloading and method overriding, C/C++ Programming

Overloading a method (or function) in C++ is the ability for functions of the similar name to be defined as long as these methods have dissimilar signatures (different set of parameters). Method overriding is the ability of the inherited class rewriting the virtual method of the base class.   

 

 

Posted Date: 4/9/2013 1:12:14 AM | Location : United States







Related Discussions:- Difference between method overloading and method overriding, Assignment Help, Ask Question on Difference between method overloading and method overriding, Get Answer, Expert's Help, Difference between method overloading and method overriding Discussions

Write discussion on Difference between method overloading and method overriding
Your posts are moderated
Related Questions

salotion of programes

write a program to find the minimum number of shelves

Smugglers are becoming very smart day by day. Now they have developed a new technique of sending their messages from one smuggler to another. In their new technology, they are send

A: Provided that function parameter is "const reference", compiler create temporary variable in following two ways. a) The actual argument is the correct type, however it isn't

The Shortest Job Next (SJN) algorithm queues processes in a way that the ones that use the shortest CPU cycle will be selected for running rst. Shortest remaining time rst algori

write a program to find the area under the curve y=f(x) between x=a & x=b

Question 1 Write a program that accepts two numbers from the user and swaps the two numbers without using a temporary variable Question 2 Write a program that accepts a 3x

write a pseudocode algorithm for a program that accepts a number and prints out its reciprocal(1/n) is required.the program should prevent the user from entering zero by asking t

Question 1 . Write a brief note on Aggregation Question 2 . Discuss briefly on constructors Question 3 . What are the important advantages of Inheritance? Question 4 .