I'm watching Java tutorials right now and I've noticed that some people use:
public static void main(String[] args)
and some people use:
public static void main(String args[])
I was just wondering if there is any difference between them.
I'm watching Java tutorials right now and I've noticed that some people use:
public static void main(String[] args)
and some people use:
public static void main(String args[])
I was just wondering if there is any difference between them.
No difference, it is array of string.
String[] args
or String args[]
are equivalents.