楼下说的对哇,ArrayList<T> al = new ArrayList<T>();其实这样看着比用基类hold住更直观哇
2015-12-08
直接把 static void test();就不用创建实例;在main可以直接调用
2015-12-06
我直接
int score2=score1;
double score3=score2;
float score4=score2;
int score5=score2;
不一样的效果啊?何必呢
int score2=score1;
double score3=score2;
float score4=score2;
int score5=score2;
不一样的效果啊?何必呢
2015-12-05
http://www.imooc.com/opus/resource?opus_id=1599&tree=
谁异常处理写的比较完善的求交流求赐教~~
谁异常处理写的比较完善的求交流求赐教~~
2015-12-04
后边不用toString()也是可以的,直接System.out.print(str);同样的结果
2015-12-04
http://www.imooc.com/opus/resource?opus_id=1581&tree=%2FstringSort
2015-12-03