freepeople性欧美熟妇, 色戒完整版无删减158分钟hd, 无码精品国产vα在线观看DVD, 丰满少妇伦精品无码专区在线观看,艾栗栗与纹身男宾馆3p50分钟,国产AV片在线观看,黑人与美女高潮,18岁女RAPPERDISSSUBS,国产手机在机看影片

正文內(nèi)容

java課程設(shè)計(jì)---基于java的在線評(píng)測(cè)系統(tǒng)的設(shè)計(jì)與開(kāi)發(fā)-資料下載頁(yè)

2025-01-18 12:49本頁(yè)面
  

【正文】 n users。 } public void setUsers(MapInteger, User users) { = users。 } public MapInteger, ListQuestion getQuestions() { return questions。 } public void setQuestions(MapInteger, ListQuestion questions) { = questions。 } /**public static void main(String[] args) { MapInteger, User users= new HashMapInteger, User()。 User u1=new User(1001, zhangsan, 1234, 314234134, 2341@)。 User u2=new User(1002, lisi, 1234, 314234134, 2341@)。 User u3=new User(1003, wangwu, 1234, 314234134, 2341@)。 ((), u1)。 ((), u2)。 ((), u3)。 (())。 User user=(1002)。 (())。 }*/}RuleFrame類代碼package 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。import 。public class RuleFrame extends JFrame{ RuleFrame ruleFrame。 JTextArea j。 //屬性 String title=考試規(guī)則。 int width=300。 int height=200。 public RuleFrame(){ init()。 } private void init() { setTitle(title)。 setSize(width, height)。 centerFrame()。 setContentPane(createContentPane())。//創(chuàng)建主面板 showrule()。 } private void centerFrame() { Toolkit tk=()。 Dimension d=()。 (()/2, ()/2)。 } private void showrule() { File questionTxt=new File()。 BufferedReader br。 try { br = new BufferedReader( new InputStreamReader( new FileInputStream(questionTxt)))。 String line。 String str=。 while((line=())!=null){ if(() || ()){ continue。 } try{ str=str+line+\n+\n。 }catch(NullPointerException e){ ()。 (null,空指針錯(cuò)誤)。 } } (str)。 //(menuFrame, line)。 } catch (Exception e) { ()。 } } private Container createContentPane() { JPanel p=new JPanel(new BorderLayout())。 JScrollPane q=new JScrollPane()。 j=new JTextArea(tfasdha)。 (false)。 setJ(j)。 ().add(j)。 (q)。 return p。 } public RuleFrame getRuleFrame() { return ruleFrame。 } public void setRuleFrame(RuleFrame ruleFrame) { = ruleFrame。 } public JTextArea getJ() { return j。 } public void setJ(JTextArea j) { = j。 } }Question類代碼:package 。import 。public class Question {// int index。 String content。 ListString options。 int score。 int level。 ListInteger answer。 int type。//0代表單選題 1代表多選題 public Question(){} public String getContent() { return content。 } public void setContent(String content) { = content。 } public ListString getOptions() { return options。 } public void setOptions(ListString options) { = options。 } public int getScore() { return score。 } public void setScore(int score) { = score。 } public int getLevel() { return level。 } public void setLevel(int level) { = level。 } public ListInteger getAnswer() { return answer。 } public void setAnswer(ListInteger answer) { = answer。 } public int getType() { return type。 } public void setType(int type) { = type。 } @Override public String toString() { return 題干:+content +選項(xiàng): +(0)+\n +(1)+\n +(2)+\n +(3)+\n +分?jǐn)?shù):+score +級(jí)別:+level。 }}QuestionInfo類代碼:package 。import 。import 。public class QuestionInfo { Question q。 int index。 ListInteger userAnswer=new ArrayListInteger()。 public QuestionInfo() {} public QuestionInfo(Question q, int index) { = q。 = index。 } public Question getQ() { return q。 } public void setQ(Question q) { = q。 } public int getIndex() { return index。 } public void setIndex(int index) { = index。 } public ListInteger getUserAnswer() { return userAnswer。 } public void setUserAnswer(ListInteger userAnswer) { = userAnswer。 } @Override public String toString() { String questionStr=。 questionStr+=index+. +()+\n。 ListString options=()。 char c=39。A39。 for (String option : options) { questionStr+=(c++)+.+option+\n。 } return questionStr。 }} User類代碼:package 。public class User { int id。 String name。 String pwd。 String phone。 String 。 public User(){} public User(int id, String name, String pwd, String phone, String ) { = id。 = name。 = pwd。 = phone。 = 。 } public int getId() { return id。 } public void setId(int id) { = id。 } public String getName() { return name。 } public void setName(String name) { = name。 } public String getPwd() { return pwd。 } public void setPwd(String pwd) { = pwd。 } public String getPhone() { return phone。 } public void setPhone(String phone) { = phone。 } public String getEmail() { return 。 } public void setEmail(String ) { = 。 } package 。public class IdOrPwdException extends Exception{ public IdOrPwdException() { } public IdOrPwdException(String message, Throwable cause) { super(message, cause)。 } public IdOrPwdException(String message) { super(message)。 } public IdOrPwdException(Throwable cause) { super(cause)。 } } .附錄2 參考文獻(xiàn) [1]林邦杰,:電子工業(yè)出版社,2002年 [2][M]. 北京:冶金工業(yè)出版社,2007年[3][M]. 北京:清華大學(xué)出版社,2003年[4]高林,[M]. 北京:人民郵電出版社,2004年[5]劉騰紅,[M]. 北京:科學(xué)出版社,2003年4747
點(diǎn)擊復(fù)制文檔內(nèi)容
環(huán)評(píng)公示相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖鄂ICP備17016276號(hào)-1