What is a method signature in Java?
Answers
Answered by
1
In Java, a method signature is part of the method declaration. It's the combination of the method name and the parameter list. The reason for the emphasis on just the method name and parameter list is because of overloading. It's the ability to write methods that have the same name but accept different parameters.
Similar questions
Political Science,
7 months ago
Math,
7 months ago
Computer Science,
1 year ago
Computer Science,
1 year ago
Biology,
1 year ago
Social Sciences,
1 year ago