Difference between Overloading and Overriding?

Answer Posted / rajnish gupta

Overloading can be used with in same class as well as
inharitance, but overriding is used only in inharitance.

Is This Answer Correct ?    2 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can create new c++ operators?

564


How does code-bloating occur in c++?

742


What is a hash function c++?

548


Describe the role of the c++ in the tradeoff of safety vs. Usability?

707


What is the use of endl in c++ give an example?

608






What is a buffer c++?

579


What do c++ programmers do?

547


Why c++ is faster than java?

590


Explain what data encapsulation is in c++?

566


Describe private, protected and public?

592


What is doubly linked list in c++?

624


Differentiate between a pointer and a reference with respect to c++.

695


Can you pass a vector to a function?

532


What is operators in c++?

561


Where can I run c++ program?

595