title: Java: Store variables in file
body: <p>I know how to write text to a file and store it in Java, but I was wondering if there is a way of storing lots of variables that can be retrieved from the file at a later date, and put back into the Java application as variables. </p>
  
  <p>I would be storing numbers and strings, but groups of them.</p>
  
  <p>Thanks :)</p>