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 are static member functions?

621


What are default parameters? How are they evaluated in c++ function?

671


What programming language should I learn first?

594


What is the role of static keyword for a class member variable?

631


What is the best free c++ compiler for windows?

592






Write a program to concatenate two strings.

593


What is a list c++?

579


What is a manipulative person?

544


Incase of a function declaration, what is extern means?

521


How do you find out if a linked-list has an end? (I.e. The list is not a cycle)

605


What are the uses of static class data?

638


Define Virtual function in C++.

632


What is #include sstream?

626


Explain the purpose of the keyword volatile.

638


Do you need a main function in c++?

561