Answers for "not equal java"

2

java not equal to

if(5 != 4) // != means "not equal to"
  	return true;
Posted by: Guest on October-14-2020
2

not equal java

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

// String version
String s = "a";
if(!s.equals("b")) {}
Posted by: Guest on May-29-2020

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language