java "not equal" sign code example
Example 1: java string not equal
String name = "John";
// prints true to standard system output.
System.out.print(!name.equals("Alex"));
Example 2: java not equal to
if(5 != 4) // != means "not equal to"
return true;