title: how to accept values using command line argument in java
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/890966/what-is-string-args-in-java">What is “String args[]”? in Java</a>  </p>
  </blockquote>
  
  
  
  <p>How do you accept values using command line argument in java?
  Whenever I try to do it, it shows </p>
  
  <p><code>Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 0</code></p>