title: how can i take in a char as an command line argument in java
body: <p>how can i take in a char as an command line argument in java. I know how to do it for an integer and double which get converted to strings, but am stuck on character....I was thinking using charAt();</p>
  
  <pre><code>     double x = Double.parseDouble(args[0]);
  // i know the below line doesnt make sense because charAt(c) expects 'c' to be the actual 
  // character and i have an index. but its what i wish to do(if it makes any sense).
         char op = charAt(args[1]);
         double y = Double.parseDouble(args[2]);
  
     //for (Operation op : jumpTable)
      System.out.printf("%f %s %f = %f%n", x, op, y, myArray[op].Compute(x, y));
  </code></pre>
  
  <p>thanks in advance guys!!! :))))</p>