深柠檬/L
package com.task23;
导入Java.SQL.connection;
导入Java.SQL.prepared statement;
import java.sql.ResultSet;
导入Java.SQL.statement;
import java.util.ArrayList;
import java.util.List;
//*
公共类稳态道o {
公共列表获取器
//详细代码见23.4.4数据访问层
}
}
package com.task23;
//*
公共类事件{
私有字符串id;
私有字符串名称;
私密int age;
私有字符串speci;
公共事件
super (;
}
公共统计(stringid、String name、int age、String speci ) {
super (;
this.id=id;
http://www.doc ZJ.com/doc/2322 ECC 22cc 58 BD 63186 BD 56.html=name;
this.age=age;
this.speci=speci;
}
公共字符串getid
返回id;
}
公共语音设置(stringid ) {
this.id=id;
}
公共字符串getname
返回名称;
}
公共语音集名称(字符串名称) {
http://www.doc ZJ.com/doc/2322 ECC 22cc 58 BD 63186 BD 56.html=name;
}
公共int get age () {
返回age;