title: reading and writing text file with arraylist
body: <p>I'm having problem reading text file into arraylist with multiple data types.</p>
  
  <p>The file format looks like:</p>
  
  <pre><code>Name1 900 20
  
  Name2 750 30
  
  Name3 880 25
  
  Name4 260 15
  </code></pre>
  
  <p>My list format is <code>name + score + age</code>  and I don't know how to store the data from txt into list properly. Also I want to rewrite the file after adding some data.</p>