Reference+
Name
!= (inequality)
Description
Determines if one expression is not equivalent to another.
Examples
int a = 22; int b = 23; if (a != b) { println("variable a is not equal to variable b"); }
Syntax
value1 != value2
Parameters
value1int, float, char, byte, booleanvalue2int, float, char, byte, boolean
Related
- Ben Fry and Casey Reas. It is developed by a team of contributors around the world.