|
|
|
|
|
by RyanZAG
4818 days ago
|
|
It's a shame you'be been downvoted even while being correct - I gave you one upvote at least. Decompile is irrelevant here, the only difference is 'str1' might have been named something different in the original code. This is java code, so "string" != "string" will usually return true always, as you are checking if the objects are equal and not whether the contents are equal. Depending on the JRE this code runs on, it would give different output. [1] [1] http://stackoverflow.com/questions/513832/how-do-i-compare-s... |
|