Signature —
consists of the method's name and its parameter list (the number and types of parameters).
public int add(int a, int b) {
return a + b;
}
In this case, the method signature is add(int, int), indicating that the method accepts two int arguments.