我写的Java学生成绩管理系统源代码(19) long num = Integer.valueOf(inputLine).longValue(); findData(num); if(isFind) { deleteData(num); System.out.print("请重新输入该学生的资料:"); String str = inputData(); addData(str); System.out.println("rewrite true!"); } }catch(IOException e){} catch(NumberNotFoundException e){} } public int count() throws IOException {
DataArrayList dal = new DataArrayList(); try{ String s = ""; long i =0; BufferedReader in = new BufferedReader( new FileReader("data.txt")); while ((s=in.readLine())!=null)