isEmpty方法源码:
public static boolean isEmpty(String str)
{
return (str == null) || (str.length() == 0);
}
isempty表示根本不存在,没有分配内存
“”表示存在(分配内存)但内容为空,一般是指字符串、数字变量的

相关文章:

  • 2021-12-29
  • 2021-09-17
  • 2022-01-31
  • 2021-10-22
  • 2021-10-25
  • 2021-12-15
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-04-26
  • 2021-12-01
  • 2021-10-16
  • 2021-10-18
  • 2021-07-25
相关资源
相似解决方案