Difference between Overloading and Overriding?

Answer Posted / meenu kathuria

overloading: same name but different signatures in same class
overriding: same name and same signature defined in
different class.

Is This Answer Correct ?    103 Yes 34 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the maximum combined length of command line arguments including the space between adjacent arguments?

586


Will a catch statement catch a derived exception if it is looking for the base class?

554


Explain what are single and multiple inheritances in c++?

553


How is c++ different from java?

555


Explain differences between alloc() and free()?

572






What is increment operator in c++?

554


What is expression parser in c++

1880


Is it possible to use a new for the reallocation of pointers ?

589


What is std :: flush?

570


If you hear the cpu fan is running and the monitor power is still on, but you did not see anything show up in the monitor screen. What would you do to find out what is going wrong?

539


How do I run c++?

568


Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?

1727


explain the reference variable in c++?

562


Write a function to find the nth item from the end of a linked list in a single pass.

559


what are the decision making statements in C++? Explain if statement with an example?

648