Diffrernce Between Overloading and Overriding?

Answer Posted / anupam mittal

In overloading all the function have same name but
different in no. of argument, type of argument and oreder
of argurmnt while in case of overriding both function are
defined in differenet class when a function inherit from
parent class and there is a function with same prototype in
child class then child class function override the parent
class funciton.

Is This Answer Correct ?    11 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How stl is different from the c++ standard library?

844


Is string part of stl?

940


Is there any error below, its a code to delete all entires from a map #include #include iostream.h int main() { int i =0; map TestMap; while(i<3) { TesMap.insert(TestMap::value_type(i,Test)); i++; } typedef map :: iterator mapIter =TestMap.begin(); if(mapIter!=TestMap.end()) { TestMap.erase(mapItrer); ++mapIter; } return 0; }

2128


Describe the My Computer and My Documents folders; identify the elements that are present in every Window.

2084


Write a C/C++ program to add a user to MySQL. The user should be permitted to only "INSERT" into the given database.

2348


What is the stl, standard template library?

818


What does stl stand for in basketball?

833


Can we use stl in coding interviews?

1540


how can u do connectivity in c++ language? plz send me connectivity code in c++ ?

2096


What are stl algorithms?

854


What are the components of stl?

849


When did c++ add stl?

935


How is stl different from c++ standard library?

953


how to use C++?

2248


totoo po ba ang manga aliens!

2528