// Int version int i = 2; if (i != 3) {} // String version String s = "a"; if(!s.equals("b")) {}
if(5 != 4) // != means "not equal to" return true;
"==" is "Checks if equal" "!=" is "Checks if not equal"