Am writing three objects to a binary file using below code in java.
oout = new ObjectOutputStream(new FileOutputStream(fileName));
oout.writeObject(objClass1);
oout.writeObject(objClass2);
oout.writeObject(objClass3);
Then how can i want to modify some data in the objClass1 and update the file? Also append objClass3 to the end of file.
Thanks....