120k views
4 votes
Distinguish between overloading and overiding in c++​

1 Answer

5 votes

Answer:

When overloading, you define the same class function multiple times, each with different arguments. When overriding, you give a new implementation in a subclass for a virtual function defined in a base class.

Step-by-step explanation:

The answer is the explanation.

User Eric Bridger
by
5.9k points