java判断字符串是否为空

判断字符串是否为空

if(url!=null && !"".equals(url)){
//不为空
}else{
//为空
}

猜你喜欢

转载自www.cnblogs.com/kkvt/p/11103356.html