title: how to use arguments like -a - d
body: <p>Sometimes we run java programs in command prompt in this manner </p>
  
  <pre><code>java -jar myjarfile.jar -a "testing" -b "testing2"
  </code></pre>
  
  <p>How do i know which parameter belongs to which. </p>
  
  <p>My code does not work </p>
  
  <pre><code>String context = System.getProperty("-a")
  System.out.println(context) //returns null
  </code></pre>