Difference between Overloading and Overriding?

Answer Posted / sandy

Overloading doesn't block Inheritence from the
superclass where as Overriding blocks is Inheritence.


Overloading method has different Parameters but same name
whereas Overriding is just the implementation of method
define Base Class.

Is This Answer Correct ?    7 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is general form of pure virtual function? Explain?

515


How should a contructor handle a failure?

690


Can a class be static in c++?

573


What is the difference between object-oriented programming and procedural programming?

700


What is c++ code?

591






Is ca high or low level language?

586


Write about all the implicit member functions of a class?

602


What is the maximum value of a unsigned char a) 255 b) 256 c) 128

636


What is the difference between C and CPP?

635


What is setfill c++?

685


What are the advantages of using friend classes?

631


What is the difference between interpreters and compilers?

634


How can you link a c++ program to c functions?

624


What are smart pointers?

672


Explain the difference between using macro and inline functions?

580