私は3つの変数intvalue1、value2とString演算子を持っています。そして、if条件を確認したいと思います。value1 = 4、value2 = 3で、operator='>'であるとします。次に、例のif条件を確認する方法-
int value1=4;
int value2=3;
String operator=">";
if (value1+operator+value2)
{
System.out.println("hello");
}
i know the this is wrong but how to correct it..