A signature can include:
In Java, signatures are used to identify methods and classes at the level of the virtual machine code. You have to declare types of variables in your code in order to be able to run the Java code. Java is strictly typed and will check any parameters at compilation time if they are correct.
public static void main(String args)
publickeyword is an access modifier and indicates that this method can be called by any object.
statickeyword indicates that this method is a class method as opposed to being an instance method.
voidkeyword indicates that this method has no return value.
- The name of the method is
- The method accepts one parameter of type String Array. It is named
- Java internal type signatures on Wikipedia