5 Übung zu Software Engineering im WS 2007/2008 Philipp Ciechanowicz Aufgabe 12 b) public void loadData() { try { File file = new File(FILENAME); if(file.exists()) { ObjectInputStream ois = new ObjectInputStream(new FileInputStream(FILENAME)); int size = ois.readInt(); for(int i = 0; i < size; i++) { v.add((Student)ois.readObject()); } ois.close(); } pointer = -1; } catch(Exception e) { e.printStackTrace(); }
{}