why my string is not showing equal in java 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"));