I am new to Java so I am not sure about the best way to do this. I have a data structure that I would like to be able to write to a file before closing the program, and then read from the file to re-populate the structure the next time the application starts.I am new to Java so I am not sure about the bes