Difference between Overloading and Overriding?

Answer Posted / kailash joshi

overloading : class a { volume(int a,int b)
}
class b { public volume(int a,int b,int c)
}
"different signatures"

overriding : class a { public volume(int a,int b)
}
class b { public volume(int a,int b,int c)
}
"same signatures";

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain method of creating object in C++ ?

587


Why is main an int?

524


Explain the difference between new() and malloc() in c++?

620


What is c++ vb?

604


Define a pdb file.

635






Differentiate between an array and a list?

701


what is data abstraction in C++?

642


Why is that unsafe to deal locate the memory using free( ) if it has been allocated using new?

621


Define linked lists with the help of an example.

548


What is the use of map in c++?

599


What are the uses of c++ in the real world?

558


Write a note about the virtual member function?

597


What is virtual destructor? What is its use?

571


What are the advantages of inheritance in c++?

652


Do you know the use of vtable?

627