摘要:
class Student{} 假设有学生对象需要存入集合,再提取出来ArrayList list = new ArrayList(); //1、实例化 list 集合对象Student s = new Student(); //2、实例化一个学生对象list.Add(s); //3、将学生存入集合Student tmp = (Student) list[0]; //4、将学生对象从集合中取出来传... 阅读全文
posted @ 2010-05-02 09:42
朗笑江湖
阅读(392)
评论(0)
推荐(0)

浙公网安备 33010602011771号