摘要: public class TestString { public static void main(String[] args) { String abc = null; //先判断是否为null再判断是否为空. if(abc != null && !abc.isEmpty()) { System.o... 阅读全文
posted @ 2017-02-20 15:31 del88 阅读(135) 评论(0) 推荐(0) 编辑