< (less than)ControlRelational OperatorsWeb & Application
int a = 22;
int b = 23;
if(a < b) {
println("variable a is less then variable b ");
}
Tests if the value on the left is smaller than the value on the right.
value1 < value2int or floatint or float
> (greater than)
>= (greater than or equal to)
<= (less than or equal to)
== (equality)
!= (inequality)
1.0OperatorPDE