Method signature

communication class
August 7, 2017
lab questions Decision Making
August 7, 2017
Show all

Method signature

Method signature

A method signature is part of the method declaration. It is 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. The Java compiler is able to discern the difference between the methods through their method signatures.

TASK: From any other realm (non computer programming related) give 3 analogies to the concept of the signature of a method explaining how each of these are similar in analogy to method signatures.


Leave a Reply

Your email address will not be published. Required fields are marked *