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:

The Bad News: The content you are trying to access is only available to members.

The Good News: You too can be a member, simply Click Here.

Already a member?

Posted in ,

2 Comments

  1. Alexa on June 17, 2015 at 9:57 am

    (s.equals(“end”))

  2. Peb on March 31, 2017 at 6:45 pm

    !s.equals(“end”)

Leave a Comment

You must be logged in to post a comment.