title: How to parse operator from a string in Java
body: <p>I want to parse an operator say "+" from the string "+" which i entered as command-line argument at run-time and then add two integers say 'a' and 'b'.</p>
  
  <p>So how can i perform the above task?</p>