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 difference between containment and delegation?

990


What is object oriented programming (oop)?

886


What is a list c++?

873


Can you be able to identify between straight- through and cross- over cable wiring? And in what case do you use straight- through and cross-over?

858


Which bitwise operator is used to check whether a particular bit is on or off?

825


What is vector pair in c++?

974


What does new in c++ do?

769


Which c++ compiler is best?

874


How many namespaces are there in c++?

796


Which programming language is best?

776


What is c++ runtime?

864


Explain object slicing in c++?

806


Can we define a constructor as virtual in c++?

848


What is pointer -to-members in C++? Give their syntax?

816


What is an iterator class in c++?

888