title: Arraylist - how to get a specific element/name?
body: <p>I've tried to search the WWW but failed to find an answer. Couldn't find one here either.</p>
  
  <p>Here's my question:
  How do I get a specific name(element?) from a Customer in an ArrayList?
  I'm imagining it looks something like this:</p>
  
  <pre><code>ArrayList&lt;Customer&gt; list = new ArrayList();
  
  String name = list.get(2) // which would return the Customer at 2's place. 
  </code></pre>
  
  <p>But what if I want to search for a customer by name, lets say a customer named Alex? How do I do that?</p>
  
  <p>Bonus question: How do I then delete that customer? </p>