why it is necessary to have String args[] in main in java program
<p>i just wonder why it is necessary to have String args[] in main method.</p>

<p>i know it is used for the command line argument, BUT everytime we are running our program, the command line is not necessary.</p>

<p>thanks in advance for answers.</p>
