java not greater than code example
Example 1: java not equal to
if(5 != 4) // != means "not equal to"
return true;
Example 2: greater than sign in java
== (equal to)
!= (not equal to)
> (greater than)
< (less than)
>= (greater than or equal to)
<= (less than or equal to)