what is function overloading in java
Answers
Answered by
7
Answer:
Your Answer:-
Explanation:
Method Overloading is a feature that allows a class to have more than one method having the same name, if their argument lists are different. It is similar to constructor overloading in Java, that allows a class to have more than one constructor having different argument lists.
Answered by
2
Answer:
Overloading occurs when two or more methods in one class have the same method name but different parameters Function overloading (also method overloading) is a programming concept that allows programmers to define two or more functions with the same name and in the same scope. Each function has a unique signature (or header), which is derived from: function/procedure name. number of arguments.
Similar questions