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

Why is c++ is better than c?

519


What is std :: flush?

578


What is an iterator?

690


What is a storage class?

647


How can virtual functions in c++ be implemented?

612






Incase of a function declaration, what is extern means?

521


what do you mean by volatile variable?

588


Which software is best for programming?

665


Should the member functions which are made public in the base class be hidden?

566


What is a modifier in c++?

634


What do you mean by inheritance in c++? Explain its types.

617


How do you invoke a base member function from a derived class in which you have not overridden that function?

584


What is the latest c++ version?

611


Eplain extern keyword?

565


Can we run c program in turbo c++?

588