Object-Oriented Programming (OOP)
Select the correct name for: the ability to define multiple methods with the same name but different parameters in a class.
- A. Inheritance
- B. Object
- C. Method overloading ✓
- D. Multiple inheritance
Correct answer
C. Method overloading
Explanation
Method overloading refers to the ability to define multiple methods with the same name but different parameters in a class.