学习web开发中,经常遇到类似下面的判断:
String str=request.getParameter("input");
if(str==null || str.length==0){
}
等于null和长度0有区别吗?
转载于:https://www.cnblogs.com/xuedexin/articles/5617251.html
学习web开发中,经常遇到类似下面的判断:
String str=request.getParameter("input");
if(str==null || str.length==0){
}
等于null和长度0有区别吗?
转载于:https://www.cnblogs.com/xuedexin/articles/5617251.html