How can I evaluate the expression from the string?
<p>I want to evaluate the expression from a string..</p>

<pre><code>public static void main(String[] args) {

        String test = "2+3";
        System.out.println(Integer.parseInt(test));
    }
</code></pre>

<p>It returns me a NumberFormatException error..How do I fix this?</p>
