[Solved] if(…) – two equal sides are considered as not equal [duplicate]


You shouldn’t use == to compare Strings in Java. Use t1.toString().equals(t2.toString()) instead.

4

solved if(…) – two equal sides are considered as not equal [duplicate]