I've started learning Java and I was wondering the difference between:
public static void main (String [] args) {}
and
public static void main (String args[]) {}
As you can see they look almost exactly the same but my question here is, should the '[]' be before the args or after the args? I have a Java beginners guide and it shows me examples with the '[]' after the args. I would be grateful if someone could tell me the correct way.
Thanks!.