title: Use Methods From Specific Object Instance
body: <p>Say i have a bit of code that creates an instance of an Apple with a given name</p>
  
  <pre><code>Apple apple = new Apple(playersName)
  </code></pre>
  
  <p>This line could be called by many players each having an instance of the Apple class where the name serves kind of as the ID</p>
  
  <p>Now say in the Apple class there is an ArrayList which stores each players friends</p>
  
  <pre><code>ArrayList&lt;String&gt; applesFriends = new ArrayList&lt;String&gt;();
  </code></pre>
  
  <p>There will also be a getter/setter for updating and retrieving the friends, so if a specific player types a command /addfriend  to add a friend to his specific instances Array List how would i do that?</p>
  
  <p>Example, Update instance of Apple WHERE name = currentPlayerTypingCommand</p>