Difference between Overloading and Overriding?

Answer Posted / stephen-pipes afrifa

Overloading: The function name is the same but the
parameters are different or have different signature

Overriding: The member function having the same name and
types of parameters as function in the base class.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can non graphic characters be used and processed in C++?

699


Can we make copy constructor private in c++?

591


What is null pointer and void pointer and what is their use?

582


What does new do in c++?

631


Which coding certification is best?

566






What is implicit pointer in c++?

598


What is size of string in c++?

549


What is pointer in c++ with example?

516


Mention the ways in which parameterized can be invoked.

534


What is data abstraction? How is it different from data encapsulation?

528


What are proxy objects in c++?

639


What are the advantage of using register variables?

635


Explain the isa and hasa class relationships. How would you implement each?

607


Describe exception handling concept with an example?

554


Discuss the effects occur, after an exception thrown by a member function is unspecified by an exception specification?

635