Error in if Condition
<p>i have the three variable int value1,value2 and a String operator. and i want to check the if Condition. suppose value1=4,value2=3 and in operator='>'. then how i check the if condition for Example - </p>

<pre><code>int value1=4;
int value2=3;

String operator="&gt;";
if (value1+operator+value2)
{
 System.out.println("hello");
}
i know the this is wrong but how to correct it..
</code></pre>
