title: Java Array Declaration Bracket Placement
body: <p>I'm trying to print "Hello World" from a Java program, but I am a little confused with the main method:</p>
  
  <pre><code>public static void main(String[] args)
  </code></pre>
  
  <p>and </p>
  
  <pre><code>public static void main(String args[])
  </code></pre>
  
  <p>Both these functions perform the same task. How does this happen?</p>
  
  <p>I know the function of String but not of the args.</p>