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
value1
int, float, char, byte, booleanvalue2
int, float, char, byte, boolean
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.