Object-Oriented Programming (OOP)

Which statement correctly explains Method overloading?

Correct answer

A. The ability to define multiple methods with the same name but different parameters in a class.

Explanation

Method overloading refers to the ability to define multiple methods with the same name but different parameters in a class.