It is an alternative form, which was borrowed from C
, upon which java is based.
As a curiosity, there are three ways to define a valid main
method in java:
public static void main(String[] args)
public static void main(String args[])
public static void main(String... args)