ELI5: Explain Like I'm 5

Method signature

A method signature is like an address label on a letter. It tells the computer where to find a certain method (or action) in the program. A method signature consists of the method's name, the number and type of parameters it needs, and the type of value it returns. For example, the method signature for a method that adds two numbers together might look like this: add (int x, int y) returns int. This tells us that the method is called 'add', it needs two integers as parameters, and it returns an integer.
Related topics others have asked about: