会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Loading
黑鱼非鱼
埋骨何须桑梓地 人生无处不青山
新随笔
联系
管理
2021年3月2日
判断char类型字符是否为空字符
摘要: if('\0' == b){ System.out.println("b为空字符"); }else{ System.out.println("判断不为空"); } String str = String.valueOf(b); if ("\0".equals(str)) { System.out.p
阅读全文
posted @ 2021-03-02 17:26 黑鱼非鱼
阅读(2805)
评论(0)
推荐(0)
公告
节
春