not equal to java

Java
// Int version
int i = 2;
if (i != 3) {}

// String version
String s = "a";
if(!s.equals("b")) {}if (!"success".equals(statusCheck))
Source

Also in Java: