Objects.equals(str1, str2)这种方法在参数为空时不会报错
比较字符串是否相等的最好办法
猜你喜欢
转载自blog.csdn.net/weixin_39536750/article/details/80262998
今日推荐
周排行