Phase 1 Language Basics + Advanced _1-3-Java language senior _1- common API_1_ Section 5 String class _4_ compare relevant methods strings

Common method string




equals the content is more




directly with string .equals

lowercase and uppercase H h is certainly not the same as



recommended and not recommended wording

run the program does not report any errors

if str5 set to null. It is recommended that the wording return false is not recommended wording would be an error
. This is the difference programmers experienced and inexperienced program












 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11206466.html