java 2 strings equal not working code example
Example: java string not equal
String name = "John";
// prints true to standard system output.
System.out.print(!name.equals("Alex"));
String name = "John";
// prints true to standard system output.
System.out.print(!name.equals("Alex"));