There are multiple ways of creating main(). Here are some of the most common ways that I have seen it being created
public static void main(String args[])
or
public static void main(String[] args)
What is the correct way to do do this? What is the difference?