畢業(yè)生選題管理系統(tǒng)和學(xué)生評教系統(tǒng)報告及源代碼(共41頁)_第1頁
畢業(yè)生選題管理系統(tǒng)和學(xué)生評教系統(tǒng)報告及源代碼(共41頁)_第2頁
畢業(yè)生選題管理系統(tǒng)和學(xué)生評教系統(tǒng)報告及源代碼(共41頁)_第3頁
畢業(yè)生選題管理系統(tǒng)和學(xué)生評教系統(tǒng)報告及源代碼(共41頁)_第4頁
畢業(yè)生選題管理系統(tǒng)和學(xué)生評教系統(tǒng)報告及源代碼(共41頁)_第5頁
已閱讀5頁,還剩36頁未讀, 繼續(xù)免費閱讀

下載本文檔

版權(quán)說明:本文檔由用戶提供并上傳,收益歸屬內(nèi)容提供方,若內(nèi)容存在侵權(quán),請進行舉報或認領(lǐng)

文檔簡介

1、精選優(yōu)質(zhì)文檔-傾情為你奉上山東建筑大學(xué)計算機科學(xué)與技術(shù)學(xué)院課程設(shè)計說明書題 目: 畢業(yè)生選題系統(tǒng),學(xué)生評教系統(tǒng)課 程: 面向?qū)ο蟪绦蛟O(shè)計(Java)院 (部): 計算機科學(xué)與技術(shù)學(xué)院專 業(yè): 網(wǎng)絡(luò)工程班 級: 網(wǎng)絡(luò)111學(xué)生姓名: 郭浩學(xué) 號: 指導(dǎo)教師: 邢國波完成日期: 2012-12-31目錄山東建筑大學(xué)計算機科學(xué)與技術(shù)學(xué)院課程設(shè)計任務(wù)書一設(shè)計題目畢業(yè)生選題系統(tǒng)已知技術(shù)參數(shù)和設(shè)計要求1)該系統(tǒng)主要處理畢業(yè)生的選題信息。2)學(xué)生信息主要包括:學(xué)號、姓名、電話、選題等內(nèi)容。3)課題信息主要包括:課題編號、課題名稱、指導(dǎo)教師等內(nèi)容。4)完成以下的操作:學(xué)生信息、課題信息的錄入、修改、刪除和查詢

2、。設(shè)計內(nèi)容與步驟1)建立學(xué)校類、學(xué)生類、課題類、選題類2)學(xué)校、學(xué)生、課題、選題信息的初始化3)學(xué)校、學(xué)生、課題、選題信息的添加、修改、刪除、查找4)學(xué)校、學(xué)生、課題、選題信息的輸出5)對選題信息按學(xué)號、課題編號排序設(shè)計工作計劃與進度安排1、 設(shè)計工作4學(xué)時2、 實現(xiàn)與調(diào)試12學(xué)時3、 課程設(shè)計說明書4學(xué)時設(shè)計考核要求1、 考勤20%2、 課程設(shè)計說明書50%。3、答辯30%指導(dǎo)教師(簽字): 教研室主任(簽字)山東建筑大學(xué)計算機科學(xué)與技術(shù)學(xué)院課程設(shè)計任務(wù)書二設(shè)計題目學(xué)生評教系統(tǒng)已知技術(shù)參數(shù)和設(shè)計要求1)該系統(tǒng)主要處理學(xué)生評教的相關(guān)信息。2)學(xué)生信息主要包括:學(xué)號、姓名、性別、聯(lián)系方式等內(nèi)容。

3、3)教師信息主要包括:教工編號、教師名稱、任教課程、評教成績等內(nèi)容。4)完成以下的操作:學(xué)生信息、教師信息、評教信息的錄入、修改、刪除和查詢。設(shè)計內(nèi)容與步驟1)建立學(xué)校類、教師類、學(xué)生類、評教類2)學(xué)校、教師、學(xué)生、評教信息的初始化3)學(xué)校、教師、學(xué)生、評教信息的添加、修改、刪除、查找4)學(xué)校、教師、學(xué)生、評教信息的輸出5)對評教信息按評學(xué)成績排序設(shè)計工作計劃與進度安排1、 設(shè)計工作4學(xué)時2、 實現(xiàn)與調(diào)試12學(xué)時3、 課程設(shè)計說明書4學(xué)時設(shè)計考核要求1、 考勤20%2、課程設(shè)計說明書50%3、答辯30%指導(dǎo)教師(簽字): 教研室主任(簽字): 畢業(yè)生選題系統(tǒng) 一、問題描述用JAVA語言寫一個系

4、統(tǒng)主要處理畢業(yè)生的選題信息。學(xué)生信息主要包括:學(xué)號、姓名、電話、選題等內(nèi)容。課題信息主要包括:課題編號、課題名稱、指導(dǎo)教師等內(nèi)容。完成以下的操作:學(xué)生信息、課題信息的錄入、修改、刪除和查詢。二、基本要求1、建立學(xué)校類、學(xué)生類、課題類、選題類2、學(xué)校、學(xué)生、課題、選題信息的初始化3、學(xué)校、學(xué)生、課題、選題信息的添加、修改、刪除、查找4、學(xué)校、學(xué)生、課題、選題信息的輸出5、對選題信息按學(xué)號、課題編號排序主類Themain三、類定義 選題 Topic課題Subject學(xué)生Student學(xué)校School四、主要成員函數(shù)描述1、主類Themain. public class Themain /* * p

5、aram args */public static void main(String args) / TODO Auto-generated method stubint choice = 0;BufferedReader br;boolean continue_e = true;School S1 = new School("", "", "");Student S2 = new Student("", "", "", "", "")

6、;Subject S3 = new Subject("", "", "");Topic S4 = new Topic("", "", "");while (continue_e) System.out.println("n請輸入你要選擇的操作(請輸入1-4中的任意數(shù)字):n" + "1:對學(xué)校操作;n"+ "2:對學(xué)生操作;n" + "3:對課題操作;n" + "4:對選題操作;n&qu

7、ot; + "5:退出系統(tǒng);");try br = new BufferedReader(new InputStreamReader(System.in);try choice = Integer.parseInt(br.readLine();if (choice < 1 | choice > 4) System.out.println("輸入錯誤!請輸入數(shù)字1-4中任意數(shù)字進行操作!"); catch (NumberFormatException e) / TODO: handle exceptionSystem.out.println(&

8、quot;輸入錯誤!請輸入數(shù)字!"); catch (IOException el) el.printStackTrace();/ TODO: handle exceptionswitch (choice) case 1:int choice1 = 0;boolean continue_e1 = true;BufferedReader br1;while (continue_e1) System.out.println("請輸入你要選擇的操作(請輸入11-15中的任意數(shù)字):n"+ "11:對學(xué)校信息的添加;n" + "12:對學(xué)校信

9、息的修改;n"+ "13:對學(xué)校信息刪除;n" + "14:對學(xué)校信息的查找;n" + "15:退出系統(tǒng)");try br1 = new BufferedReader(new InputStreamReader(System.in);try choice1 = Integer.parseInt(br1.readLine();if (choice1 < 11 | choice1 > 15) System.out.println("輸入錯誤!請輸入數(shù)字11-15中任意數(shù)字進行操作!"); catc

10、h (NumberFormatException e) / TODO: handle exception catch (IOException el) el.printStackTrace();/ TODO: handle exception/ while1switch (choice1)/ switch1case 11:System.out.println("請輸入學(xué)校的編號");S1.schoolIdinput();System.out.println("請輸入學(xué)校的名稱");S1.schoolnameinput();System.out.print

11、ln("請輸入學(xué)校的地址");S1.schooladdressinput();S1.schooladd();break;case 12:System.out.println("請輸入您要修改的學(xué)校編號");S1.schoolIdinput();S1.schoolfind();System.out.println("請輸入要修改的學(xué)校名稱");S1.schoolnameinput();System.out.println("請輸入要修改的學(xué)校地址");S1.schooladdressinput();S1.school

12、xiugai();break;case 13:System.out.println("請輸入要刪除學(xué)校的編號");S1.schoolIdinput();S1.schoolshanchu();break;case 14:System.out.println("請輸入您要查找的學(xué)校編號");S1.schoolIdinput();S1.schoolfind();break;case 15:continue_e1 = false;System.out.println("您退出了系統(tǒng),再見!n");break;case 2:int choice

13、2 = 0;boolean continue_e2 = true;BufferedReader br2;while (continue_e2) System.out.println("請輸入你要選擇的操作(請輸入21-25中的任意數(shù)字):n"+ "21:對學(xué)生信息的添加;n" + "22:對學(xué)生信息的修改;n"+ "23:對學(xué)生信息刪除;n" + "24:對學(xué)生信息的查找;n" + "25:退出系統(tǒng)");try br2 = new BufferedReader(new Inp

14、utStreamReader(System.in);try choice2 = Integer.parseInt(br2.readLine();if (choice2 < 21 | choice2 > 25) System.out.println("輸入錯誤!請輸入數(shù)字21-25中任意數(shù)字進行操作!"); catch (NumberFormatException e) / TODO: handle exception catch (IOException el) el.printStackTrace();/ TODO: handle exception/ whi

15、le1switch (choice2)/ switch1case 21:System.out.println("請輸入學(xué)生的學(xué)號");S2.stuxuehaoinput();System.out.println("請輸入學(xué)生的名字");S2.stunameinput();System.out.println("請輸入學(xué)生的手機號");S2.stuphoneinput();System.out.println("請輸入學(xué)生的選題標號");S2.stuxuantiinput();System.out.println(&

16、quot;請輸入學(xué)生的學(xué)校編號");S2.stuschoolIDinput();S2.stuadd();break;case 22:System.out.println("請輸入您要修改的學(xué)生編號");S2.stuxuehaoinput();S2.stufind();System.out.println("請輸入要修改的學(xué)生的名字");S2.stunameinput();System.out.println("請輸入要修改的學(xué)生的手機號");S2.stuphoneinput();System.out.println(&quo

17、t;請輸入要修改的學(xué)生選題標號");S2.stuxuantiinput();System.out.println("請輸入要修改的學(xué)生學(xué)校編號");S2.stuschoolIDinput();S2.stuxiugai();break;case 23:System.out.println("請輸入要刪除學(xué)生編號");S2.stuxuehaoinput();S2.stushanchu();break;case 24:System.out.println("請輸入您要查找的學(xué)生編號");S2.stuxuehaoinput();S2

18、.stufind();break;case 25:continue_e2 = false;System.out.println("您退出了系統(tǒng),再見!n");break;case 3:int choice3 = 0;boolean continue_e3 = true;BufferedReader br3;while (continue_e3) System.out.println("請輸入你要選擇的操作(請輸入31-35中的任意數(shù)字):n"+ "31:對課題信息的添加;n" + "32:對課題信息的修改;n"+

19、"33:對課題信息刪除;n" + "34:對課題信息的查找;n" + "35:退出系統(tǒng)");try br3 = new BufferedReader(new InputStreamReader(System.in);try choice3 = Integer.parseInt(br3.readLine();if (choice3 < 31 | choice3 > 35) System.out.println("輸入錯誤!請輸入數(shù)字31-35中任意數(shù)字進行操作!"); catch (NumberForma

20、tException e) / TODO: handle exception catch (IOException el) el.printStackTrace();/ TODO: handle exception/ while1switch (choice3)/ switch1case 31:System.out.println("請輸入課題的標號");S3.ktbianhaoinput();System.out.println("請輸入課題的名稱");S3.ktnameinput();System.out.println("請輸入課題的指導(dǎo)

21、老師");S3.ktteacherinput();S3.ktadd();break;case 32:System.out.println("請輸入您要修改的課題的標號");S1.schoolIdinput();S3.ktfind();System.out.println("請輸入要修改的課題的名稱");S3.ktnameinput();System.out.println("請輸入要修改的課題的指導(dǎo)老師");S3.ktteacherinput();S3.ktxiugai();break;case 33:System.out.

22、println("請輸入要刪除課題的標號");S3.ktbianhaoinput();S3.ktshanchu();break;case 34:System.out.println("請輸入您要查找課題的標號");S3.ktbianhaoinput();S3.ktfind();break;case 35:continue_e3 = false;System.out.println("您退出了系統(tǒng),再見!n");break;case 4:int choice4 = 0;boolean continue_e4 = true;Buffere

23、dReader br4;while (continue_e4) System.out.println("請輸入你要選擇的操作(請輸入41-45中的任意數(shù)字):n"+ "41:對選題信息的添加;n" + "42:對選課信息的修改;n"+ "43:對選課信息刪除;n" + "44:對選課信息的查找;n" + "45:退出系統(tǒng)");try br4 = new BufferedReader(new InputStreamReader(System.in);try choice4 =

24、Integer.parseInt(br4.readLine();if (choice4 < 41 | choice4 > 45) System.out.println("輸入錯誤!請輸入數(shù)字41-45中任意數(shù)字進行操作!"); catch (NumberFormatException e) / TODO: handle exception catch (IOException el) el.printStackTrace();/ TODO: handle exception/ while1switch (choice4)/ switch1case 41:Syst

25、em.out.println("請輸入選題的編號");S4.topnumberinput();System.out.println("請輸入選題的名稱");S4.topnameinput();System.out.println("請輸入選題的指導(dǎo)教師");S4.topterinput();S4.topictj();break;case 42:System.out.println("請輸入您要修改的選題編號");S4.topnumberinput();S4.topiccz();System.out.println(

26、"請輸入要修改的選題名稱");S4.topnameinput();System.out.println("請輸入要修改的指導(dǎo)教師");S4.topterinput();S4.topicxg();break;case 43:System.out.println("請輸入要刪除選題的編號");S4.topnumberinput();S4.topicsc();break;case 44:System.out.println("請輸入您要查找的選題編號");S4.topnumberinput();S4.topiccz();

27、break;case 45:continue_e4 = false;System.out.println("您退出了系統(tǒng),再見!n");break;case 5:continue_e = false;System.out.println("您退出了系統(tǒng),再見!n"); 通過while()循環(huán)和switch()case結(jié)構(gòu)調(diào)用基類中定義的成員方法實現(xiàn)系統(tǒng)的功能。2、基類School.1)void schoolIdinput()choole aID = true;trywhile (aID)chooled = bin.readLine();if (chool

28、ed.equals(“”)/ 判斷員工的編號是否為空System.out.println(“編號不能為空,請重新輸入!”);continue; elseaID = false; catch (IOException e)這個方法實現(xiàn)了學(xué)校編號的輸入。2)void schoolnameinput()choole aname = true;trywhile (aname)schoolname = bin.readLine();if (schoolname.equals(“”)System.out.println(“姓名不能為空,請重新輸入”);continue; elseaname = false

29、; catch (Exception e)/ TODO: handle exception這個方法實現(xiàn)了學(xué)校名字的輸入。3)void schooladdressinput()choole choole = true;trywhile (choole)schooladdress = bin.readLine();if (schooladdress.equals(“”)System.out.println(“地址不能為空,請重新輸入”);continue; elsechoole = false; catch (Exception e)/ TODO: handle exception這個方法實現(xiàn)了學(xué)

30、校地址的輸入。4)public void schooladd()tryClass.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); catch (java.lang.ClassNotFoundException e2)System.err.print(“ClassNotFoundException:”);System.err.println(e2.getMessage();trycon = DriverManager.getConnection(dburl, “”, “”);stmt = con.createStatement();sql1 = “INSERT

31、INTO school “ + “VALUES(” + chooled + “,” + “” + schoolname + “,” + “” + schooladdress + “)”;stmt.executeUpdate(sql1);System.out.println(“學(xué)校信息添加成功”);stmt.close();con.close(); catch (Exception e)/ TODO: handle exception這個方法實現(xiàn)了學(xué)校信息的添加。5)public void schoolxiugai()tryClass.forName(“sun.jdbc.odbc.JdbcOdb

32、cDriver”); catch (java.lang.ClassNotFoundException e2)System.err.print(“ClassNotFoundException:”);System.err.println(e2.getMessage();trycon = DriverManager.getConnection(dburl, “”, “”);stmt = con.createStatement();sql1 = “update school set 學(xué)校名字=” + schoolname + “,學(xué)校地址=” + schooladdress + “”;int aa =

33、 stmt.executeUpdate(sql1);stmt.hashCode();if (aa > 0)System.out.println(“修改成功”); elseSystem.out.println(“修改失敗”); catch (Exception e)System.out.println(e.getMessage();/ TODO: handle exception實現(xiàn)學(xué)校信息的添加。6)public void schoolshanchu()tryClass.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); catch (java.lang.C

34、lassNotFoundException e2)System.err.print(“ClassNotFoundException:”);System.err.println(e2.getMessage();trycon = DriverManager.getConnection(dburl, “”, “”);stmt = con.createStatement();sql1 = “delete from school where 學(xué)校編號=” + “” + chooled + “”;stmt.executeUpdate(sql1);System.out.println(“刪除成功”);stm

35、t.close();con.close(); catch (Exception e)System.out.println(“Exception:” + e.getMessage();/ TODO: handle exception實現(xiàn)學(xué)校信息的刪除。7)public void schoolfind()int a = 1;tryClass.forName(“sun.jdbc.odbc.JdbcOdbcDriver”); catch (java.lang.ClassNotFoundException e2)System.err.print(“ClassNotFoundException:”);Sy

36、stem.err.println(e2.getMessage();trycon = DriverManager.getConnection(dburl, “”, “”);stmt = con.createStatement();sql1 = “Select * from school where 學(xué)校編號=” + chooled + “”;ResultSet rs = stmt.executeQuery(sql1);while (rs.next()System.out.println(“您要查找的學(xué)校的信息如下:”);System.out.println(“您要查找的學(xué)校編號:” + rs.g

37、etString(“學(xué)校編號”);System.out.println(“您要查找的學(xué)校名字:” + rs.getString(“學(xué)校名字”);System.out.println(“您要查找的學(xué)校地址:” + rs.getString(“學(xué)校地址”);a = 0;stmt.close();con.close(); catch (Exception e)System.out.println(e.getMessage();/ TODO: handle exceptionif (a = 1)System.out.println(“對不起沒有您要查詢的學(xué)校編號,請確認后重新操作。”);System.

38、out.println(“查找結(jié)束”);實現(xiàn)學(xué)校信息的查找。3、基類Student.(基類的方法內(nèi)容基本一樣不再重復(fù)寫出)1)void stuxuehaoinput()實現(xiàn)學(xué)生編號的輸入。 2)viod stunameinput() 實現(xiàn)學(xué)生姓名的輸入。 3)viod stuphoneinput() 實現(xiàn)學(xué)生手機號的輸入。 4)viod stuxuantiinput() 實現(xiàn)學(xué)生選題信息的輸入。 5)viod stuschoolIDinput() 實現(xiàn)學(xué)生信息中學(xué)校編號的輸入。 6)public viod stuadd() Public viod stuxiugai() Public viod

39、 stushanchu() Public viod stufind() 這四個方法分別實現(xiàn)了對學(xué)生信息的添加、修改、刪除和查找。4、基類Subject.1) viod ktbianhaoinput()實現(xiàn)課題編號的輸入。 2)viod ktnameinput() 實現(xiàn)課題名稱的輸入。 3)viod ktteacherinput() 實現(xiàn)課題指導(dǎo)老師的輸入。4)public viod ktadd() Public viod ktxiugai() Public viod ktshanchu() Public viod ktfind() 這四個方法分別實現(xiàn)了對課題信息的添加、修改、刪除和查找。 5、

40、基類Topic. 1)viod topnumberinput()實現(xiàn)選題編號的輸入。 2)viod topnameinput() 實現(xiàn)選題名稱的輸入。 3)viod topterinput() 實現(xiàn)選題指導(dǎo)教師的輸入。4) public viod topadd()Public viod topxiugai()Public viod topshanchu()Public viod topfind()這四個方法分別實現(xiàn)對選題信息的添加、修改、刪除和查找。五、測試數(shù)據(jù)及情況請輸入你要選擇的操作(請輸入1-4中的任意數(shù)字):1:對學(xué)校操作;2:對學(xué)生操作;3:對課題操作;4:對選題操作;5:退出系統(tǒng);

41、3請輸入你要選擇的操作(請輸入31-35中的任意數(shù)字):31:對課題信息的添加;32:對課題信息的修改;33:對課題信息刪除;34:對課題信息的查找;35:退出系統(tǒng)31請輸入課題的標號3請輸入課題的名稱課程設(shè)計請輸入課題的指導(dǎo)老師邢國波課題信息添加成功請輸入你要選擇的操作(請輸入31-35中的任意數(shù)字):31:對課題信息的添加;32:對課題信息的修改;33:對課題信息刪除;34:對課題信息的查找;35:退出系統(tǒng)34請輸入您要查找課題的標號3您要查找的課題的信息如下:您要查找的課題標號:3您要查找的課題名稱:課程設(shè)計您要查找的課題老師:邢國波查找結(jié)束請輸入你要選擇的操作(請輸入31-35中的任意

42、數(shù)字):31:對課題信息的添加;32:對課題信息的修改;33:對課題信息刪除;34:對課題信息的查找;35:退出系統(tǒng)32請輸入您要修改的課題的標號3您要查找的課題的信息如下:您要查找的課題標號:3您要查找的課題名稱:課程設(shè)計您要查找的課題老師:邢國波查找結(jié)束請輸入要修改的課題的名稱程序設(shè)計請輸入要修改的課題的指導(dǎo)老師袁衛(wèi)華修改成功請輸入你要選擇的操作(請輸入31-35中的任意數(shù)字):31:對課題信息的添加;32:對課題信息的修改;33:對課題信息刪除;34:對課題信息的查找;35:退出系統(tǒng)34請輸入您要查找課題的標號3您要查找的課題的信息如下:您要查找的課題標號:3您要查找的課題名稱:程序設(shè)計

43、您要查找的課題老師:袁衛(wèi)華您要查找的課題的信息如下:您要查找的課題標號:3您要查找的課題名稱:程序設(shè)計您要查找的課題老師:袁衛(wèi)華您要查找的課題的信息如下:您要查找的課題標號:3您要查找的課題名稱:程序設(shè)計您要查找的課題老師:袁衛(wèi)華查找結(jié)束請輸入你要選擇的操作(請輸入31-35中的任意數(shù)字):31:對課題信息的添加;32:對課題信息的修改;33:對課題信息刪除;34:對課題信息的查找;35:退出系統(tǒng)33請輸入要刪除課題的標號3刪除成功請輸入你要選擇的操作(請輸入31-35中的任意數(shù)字):31:對課題信息的添加;32:對課題信息的修改;33:對課題信息刪除;34:對課題信息的查找;35:退出系統(tǒng)3

44、4請輸入您要查找課題的標號3對不起沒有您要查詢的課題標號,請確認后重新操作。查找結(jié)束請輸入你要選擇的操作(請輸入31-35中的任意數(shù)字):31:對課題信息的添加;32:對課題信息的修改;33:對課題信息刪除;34:對課題信息的查找;35:退出系統(tǒng)35您退出了系統(tǒng),再見!請輸入你要選擇的操作(請輸入1-4中的任意數(shù)字):1:對學(xué)校操作;2:對學(xué)生操作;3:對課題操作;4:對選題操作;5:退出系統(tǒng);5您退出了系統(tǒng),再見!.學(xué)生評教系統(tǒng) 一、問題描述用JAVA語言做一個系統(tǒng)主要處理學(xué)生評教的相關(guān)信息。學(xué)生信息主要包括:學(xué)號、姓名、性別、聯(lián)系方式等內(nèi)容。教師信息主要包括:教工編號、教師名稱、任教課程、

45、評教成績等內(nèi)容。完成以下的操作:學(xué)生信息、教師信息、評教信息的錄入、修改、刪除和查詢。二、基本要求1)建立學(xué)校類、教師類、學(xué)生類、評教類2)學(xué)校、教師、學(xué)生、評教信息的初始化3)學(xué)校、教師、學(xué)生、評教信息的添加、修改、刪除、查找4)學(xué)校、教師、學(xué)生、評教信息的輸出5)對評教信息按評學(xué)成績排序主類Themain三、類定義評教PingJiao學(xué)生Student教師Teacher學(xué)校School四、主要成員函數(shù)描述1、主類Themainpublic class Themain /* * param args */public static void main(String args) / TODO

46、Auto-generated method stubint choice = 0;BufferedReader br;boolean continue_e = true;School S1 = new School("", "", "");Student S2 = new Student("", "", "", "");Teacher S3 = new Teacher("", "", "", &q

47、uot;");PingJiao S4 = new PingJiao("", "", "");while (continue_e) System.out.println("n請輸入你要選擇的操作(請輸入1-4中的任意數(shù)字):n" + "1:對學(xué)校操作;n"+ "2:對教師操作;n" + "3:對學(xué)生操作;n" + "4:對評教信息操作;n" + "5:退出系統(tǒng);");try br = new Buffered

48、Reader(new InputStreamReader(System.in);try choice = Integer.parseInt(br.readLine();if (choice < 1 | choice > 5) System.out.println("輸入錯誤!請輸入數(shù)字1-5中任意數(shù)字進行操作!"); catch (NumberFormatException e) / TODO: handle exceptionSystem.out.println("輸入錯誤!請輸入數(shù)字!"); catch (IOException el) el.printStackTrace();/ TODO: handle exceptionswitch (choice) case 1:int choice1 = 0;boolean continue_e1 = true;BufferedReader br1;while (continue_e1) System.out.println("請輸入你要選擇的操作(請輸入11-15中的任意數(shù)字):n"+ "11:對學(xué)校信息的添加;n" + "12

溫馨提示

  • 1. 本站所有資源如無特殊說明,都需要本地電腦安裝OFFICE2007和PDF閱讀器。圖紙軟件為CAD,CAXA,PROE,UG,SolidWorks等.壓縮文件請下載最新的WinRAR軟件解壓。
  • 2. 本站的文檔不包含任何第三方提供的附件圖紙等,如果需要附件,請聯(lián)系上傳者。文件的所有權(quán)益歸上傳用戶所有。
  • 3. 本站RAR壓縮包中若帶圖紙,網(wǎng)頁內(nèi)容里面會有圖紙預(yù)覽,若沒有圖紙預(yù)覽就沒有圖紙。
  • 4. 未經(jīng)權(quán)益所有人同意不得將文件中的內(nèi)容挪作商業(yè)或盈利用途。
  • 5. 人人文庫網(wǎng)僅提供信息存儲空間,僅對用戶上傳內(nèi)容的表現(xiàn)方式做保護處理,對用戶上傳分享的文檔內(nèi)容本身不做任何修改或編輯,并不能對任何下載內(nèi)容負責(zé)。
  • 6. 下載文件中如有侵權(quán)或不適當內(nèi)容,請與我們聯(lián)系,我們立即糾正。
  • 7. 本站不保證下載資源的準確性、安全性和完整性, 同時也不承擔(dān)用戶因使用這些下載資源對自己和他人造成任何形式的傷害或損失。

最新文檔

評論

0/150

提交評論