I use the == operator in my program to compare all the stars so far I am doing However, I went to a bug, one of them was changed to .equals () , and it fixed the bug.
What is == bad? When should this happen and it should not be used? Reference for reference equality (whether they are)
== ).
.equals () test for value equality (whether they are rational "equivalent").
Checks for tap before calling .equals () , so you (available as JDK 7 also available).
As a result, if you want to check whether the two strings have the same value, then you might
No comments:
Post a Comment