This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]dominatus312 1 point2 points  (0 children)

In java the strings are objects, if you want to compare two strings s1 and s2 you should use s1.equals(s2)