Writing objects to file while appending [duplicate]
问题 This question already has answers here : Write and read multiple objects to file (3 answers) Closed 2 years ago . I have created a program which registers members for a library system. To store the data i have used text files and to read/write i implemented serialization. My problem is when i register one member and try to register another member, the second member records won't get saved. To append writing to the file i used the keyword "true" as well. Here is what i have done: //Am writing