{//检查答题情况的函数……//计算正确的情况//Tries;CurrentScore=Math.floor((NumberCorrect/Tries) * 100);//计算目前正确率Feedback=Selection;WriteFeedback(CurrentScore,Feedback,DoneFeedback);}}function donothing(){} … 访问数据库的Java Bean部分程序如下:public class SQLProxy{private ConnPool connPool;……//定义私有访问数据库相关变量private boolean flag=false;public SQLProxy() {略} //初始化connPool,conn,rs,rsmd,stmtprivate void clearResult() throws SQLException {略} //清除查询结果public void closeDB() throws SQLException {略} //关闭数据库public int execSQL( String sqlStmt ) throws ,英语毕业论文,英语论文题目 |