When “” == s is false but “”.equals( s ) is true

前端 未结 10 1482
深忆病人
深忆病人 2020-11-30 19:46

EDIT Thanks for the prompt responses. Please see what the real question is. I have made it bold this time.

I do understand the difference between ==

10条回答
  •  青春惊慌失措
    2020-11-30 20:38

    Check this reference: http://mindprod.com/jgloss/string.html#COMPARISON at the excellent Canadian Mind Products Java & Internet Glossary. Worth a bookmark.

提交回复
热议问题