Home > Back-end >  Ask everybody, here even if I input the same string, and print "not equal to two strings"
Ask everybody, here even if I input the same string, and print "not equal to two strings"

Time:04-10

CodePudding user response:

Have a little mistake, should be in the comments section of the picture

CodePudding user response:

The
refer to the original poster weixin_53256720 response:

Finally I added a space where the System, post which is without, no pictures, you will see

CodePudding user response:

Suggest you see==and equals () the difference between
Here should use the method of the equals () and can't use the==compare two strings, so the comparison is the address

CodePudding user response:

reference m0_52195203 reply: 3/f
suggest you see==and equals the difference between ()
Here should use the method of the equals () and can't use the==compare two strings, so the comparison is address

Ok thank you to answer

CodePudding user response:

reference m0_52195203 reply: 3/f
suggest you see==and equals the difference between ()
Here should use the method of the equals () and can't use the==compare two strings, so the comparison is address

Problem solved, thank you!
  • Related