Java public static main()
<p>I am learning Java, theres one thing I do not understand..</p>

<p>in the main routine:</p>

<pre><code>public static void main(String[] args) {
</code></pre>

<p>I think I pretty much understand this, in the language I know, I think it would be like this:</p>

<pre><code>public static function main(args:String):void {
</code></pre>

<p>The first thing I do not understand is what are the 2 brackets [] for in String[]? Also the second thing I am wondering, is if this is the first function that will be called (and called by something outside the program), will there ever actually be a parameter passed?</p>

<p>Thanks.</p>
