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

正文內(nèi)容

java學(xué)生管理系統(tǒng)源代碼(編輯修改稿)

2024-10-11 00:24 本頁(yè)面
 

【文章內(nèi)容簡(jiǎn)介】 , true)。 PrintWriter log = new PrintWriter(fw)。 ()。 //(())。 // Student stu=(Student) o。 (刪除 學(xué)生 )。 ( 學(xué)號(hào): +()+ + 姓名 : +())。 (=====+new Date(0)+=====)。 ()。 ()。 } catch (IOException e) { ()。 } */ } else { (不存在該學(xué)生 )。 ()。 } } public void toRemoveStudent(){ (輸入要?jiǎng)h除學(xué)生的學(xué)號(hào) )。 InputStreamReader isr = new InputStreamReader()。 BufferedReader br = new BufferedReader(isr)。 String s = null。 try { s = ()。 Scanner tempCourse=new Scanner(s)。 if(()){ int stuId = ()。 (stuId)。 } else{ (錯(cuò)誤輸入 )。 ()。 } // int stuId = ()。 // (stuId)。 } catch (IOException e) { ()。 } finally{ try { ()。 } catch (IOException e) { ()。 } } } public void changeStudent(Student o){//與 o學(xué)號(hào)或姓名一樣的學(xué)生對(duì)象用 o替代 int index=0。 for(int i=0。i()。i++){ Student temp=(Student) (i)。 if(() == () || ().equals(())){ index=i。 break。 } } Student stu=(Student) (index)。 (index,o)。 /* String s = null。 try { FileWriter fw = new FileWriter(, true)。 PrintWriter log = new PrintWriter(fw)。 ()。 //(())。 //Student stu=(Student) o。 (修改學(xué)生信息 )。 ( 學(xué)號(hào): +()+ + 姓名 : +())。 (=====+new Date(0)+=====)。 ()。 ()。 } catch (IOException e) { ()。 }*/ } public void toChangeStudent(){ (輸入要修改的學(xué)生的學(xué)號(hào),姓名,各科名稱(chēng)及成績(jī) 以空格分開(kāi) )。 (例: 09001 朱良 語(yǔ)文 23 數(shù)學(xué) 45 英語(yǔ) 78)。 InputStreamReader isr = new InputStreamReader()。 BufferedReader br = new BufferedReader(isr)。 String s = null。 try { s = ()。 Scanner tempCourse=new Scanner(s)。 Student stu = new Student()。 int stuId = ()。 String stuName = ()。 (stuName)。 (stuId)。 LinkedList objList=new LinkedList()。 String courseName=null。 int courseGrade=0。 Course objCourse。 while(() || ()){ courseName=()。 courseGrade=()。 objCourse=new Course()。 (courseName)。 (courseGrade)。 (objCourse)。 } (objList)。 (stu)。 } catch (IOException e) { ()。 } finally{ try { ()。 } catch (IOException e) { ()。 } } } public void searchStudentById(){//查找學(xué)號(hào)為 id 的學(xué)生的信息(學(xué)號(hào),姓名,各科成績(jī)) (輸入學(xué)號(hào): )。 Scanner sc = new Scanner()。 int id = ()。 int index=0。 for(int i=0。i()。i++){ Student temp=(Student) (i
點(diǎn)擊復(fù)制文檔內(nèi)容
公司管理相關(guān)推薦
文庫(kù)吧 www.dybbs8.com
備案圖片鄂ICP備17016276號(hào)-1