-4

What's the difference between

String args []

and

String [] args

If anyone could tell me, it would be great!

loafy.
  • 103
  • 10
  • 1
    Nothing. Not one thing. Nada. Zip. Etc. – Brian Roach May 01 '14 at 02:29
  • 2
    In this situation: nothing. In this situation: `String[] args, args2` something. Hold tight for the duplicate. – Jeroen Vannevel May 01 '14 at 02:32
  • possible duplicate of [Difference between int\[\] array and int array\[\]](http://stackoverflow.com/questions/129178/difference-between-int-array-and-int-array) among others. Also http://stackoverflow.com/questions/20110635/java-when-to-use-string-args-over-string-args?rq=1 – Brian Roach May 01 '14 at 02:32

1 Answers1

0

The mean the same thing: create an array of Strings. Its Java convention however for the declaration to be String[] args.

JamesENL
  • 6,400
  • 6
  • 39
  • 64