The concept of two functions with same name is known as
Answers
Answered by
7
Answer:
Having two or more methods named the same in the same class is called overloading.
hope it helps you
Answered by
0
The concept of two functions with same name is known as Function overloading.
About Function Overloading :
- Function overloading refers to when two or more functions have the very same name but distinct parameters.
- In the same scope, there are many functions with the same name. Overloaded functions are what they're called. Overloaded functions allow you to give a function varied semantics based on the kinds and quantity of arguments.
- Overloaded methods are the term for these types of methods, and method overloading is the term for this functionality.
Similar questions