Results 1 to 2 of 2
  1. #1
    Talon876 is offline Member
    Join Date
    Nov 2007
    Rep Power

    Thumbs down 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 12:04 AM.

  2. #2
    hardwired's Avatar
    hardwired is offline Senior Member
    Join Date
    Jul 2007
    Rep Power

Similar Threads

  1. Saving Blob through Hibernate
    By Ed in forum JDBC
    Replies: 2
    Last Post: 01-05-2009, 05:03 AM
  2. Saving data...?
    By easyRyder in forum New To Java
    Replies: 8
    Last Post: 07-15-2008, 03:14 AM
  3. Saving data in an XML file
    By Thez in forum New To Java
    Replies: 1
    Last Post: 12-08-2007, 09:24 PM
  4. Saving Variables
    By Fish in forum New To Java
    Replies: 6
    Last Post: 06-25-2007, 08:20 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts