Java Save Object to File

Posted by Kristian Matthews on Stack Overflow See other posts from Stack Overflow or by Kristian Matthews
Published on 2012-03-24T11:26:12Z Indexed on 2012/03/24 11:29 UTC
Read the original article Hit count: 183

Filed under:
|
|
|
|

I've tried implementing various methods from around the internet, all seem to be providing the same solution. But it just won't work and I'm unsure why, it creates the file, however, it's blank and if I try loading that file, it has an error.

Main.java contains the code to save and load the file: 190-224.

Rooms.java contains the object.

Code

Any help is greatly appreciated, I've been trying for almost a week now! Thanks in advanced!

© Stack Overflow or respective owner

Related posts about java

Related posts about file