摘要: 判断以下哪种书写时正确的? 1.ArrayList<String> lists = new ArrayList<String>();2.ArrayList<Object> lists = new ArrayList<String>();3.ArrayList<String> lists = new 阅读全文
posted @ 2016-11-24 10:32 hoey94 阅读(1739) 评论(1) 推荐(0) 编辑
摘要: 以下情况会被认为返回false: "" 空的字符串 为 0 的数字 为 null 的对象 为 undefined 的对象 布尔值 false 反之为真。 阅读全文
posted @ 2016-11-24 10:27 hoey94 阅读(1200) 评论(0) 推荐(0) 编辑