signature

 

A methodís signature is defined as its number, type, and order of parameters.

 

Return types donít count in the signature for overloading purposes.For overriding, return types do count, and they must match.

 

Exceptions thrown donít count in the signature.

 

Modifiers like static donít count in the signature.

 

Defining identical methods but with different return types is seen as a duplicate overloading error (duplicate methods) by the compiler.