Write an expression that evaluates to true if and only if the string variable s equals the string “end”.
LANGUAGE: JAVA
CHALLENGE:
Write an expression whose value is a reference to a newly created PrintWriter object associated with a file named “Write an expression that evaluates to true if and only if the string variable s equals the string “end”.
SOLUTION:
s.equals("end")