关于遍历ArrayList
为啥我遍历出来输出是
com.collection.Course@6bbc4459
com.collection.Course@6bbc4459
for(int i = 0; i<courseToSelect.size(); i++){ System.out.println(courseToSelect.get(0)); }
为啥我遍历出来输出是
com.collection.Course@6bbc4459
com.collection.Course@6bbc4459
for(int i = 0; i<courseToSelect.size(); i++){ System.out.println(courseToSelect.get(0)); }
2015-08-10
举报