Write an expression that evaluates to true if and only if the string variable s does not equal the String literal end.
LANGUAGE: JAVA
CHALLENGE:
Write an expression that evaluates to true if and only if the string variable s does not equal the String literal end.
SOLUTION:
(!s.equals("end"))
Posted in Java, Learn To Code