摘要:
List<Integer> a=new ArrayList<Integer>(); a.add(1); System.out.println(a.size()); int b[]={1,2,3}; System.out.println(b.length); String s=new String(" 阅读全文
posted @ 2017-02-10 14:04
仙山泗水
阅读(176)
评论(0)
推荐(0)
摘要:
1.==比较两个变量的值是否相等 (1)基本类型数据 int i=1,j=1; i==j true (2)引用类型数据 student a=new student(1); student b=new student(1); a==b false b=a; a==b true //比较的是 a和b是否 阅读全文
posted @ 2017-02-10 13:23
仙山泗水
阅读(193)
评论(0)
推荐(0)

浙公网安备 33010602011771号