title: Java Arraylist to store user input
body: <p>Hi I am new to arraylists and java and I was wondering if someone could help me or give me pointers on how to create a program that allows the user to repeatedly enter directory entries from the keyboard and store them in an arraylist.</p>
  
  <pre><code>enter name:
  enter telephone number:
  </code></pre>
  
  <p>and then ask if the user wants to enter another one </p>
  
  <pre><code>enter another:  Y/N
  </code></pre>
  
  <p>thanks</p>