English subtitles

← refractoring - Intro to Java Programming

Get Embed Code
5 Languages

Showing Revision 5 created 07/06/2017 by Dejan Trajkovic.

  1. Storing our friends in an ArrayList instead of a string made it easier for us
  2. to add some useful features. Now friends can have spaces in their names and I
  3. can have multiple friends with the same name. It's easy to answer questions
  4. like, how many friends does someone have or who is the fifth friend on my list?
  5. But you may have noticed that we haven't touched the un-friend method. For that
  6. we would need to modify the ArrayList, back to Cay to tell us how to do that.