Samuel Fernandes
Total Post:159
Points:1117I've been using the == operator in my program to compare all my strings so far. However, I ran into a bug, changed one of them into .equals() instead, and it fixed the bug.
Is == bad? When should it and should it not be used? What's the difference?
Post:397
Points:3117Re: How do I compare strings in Java?