|
saving variables to the harddrive
Hello, I am making text based console java program but everytime the console is closed, the player would have to start over. So, how do i save variables to somewhere on the hard drive and have the program recall all the variables when the program is ran again later? Can I have the program write the variables to a text document and then to recall them have it use the scanner class and use nextDouble() ?
Last edited by Talon876 : 11-02-2007 at 02:04 AM.
|