Quiz: Friends Done Right
Actually, around 1:05, my code has a typo that I sneakily fix later. It should be
if (0 <= friendIndex && friendIndex < friends.size())
{
return friends.get(friendIndex);
}
else
{
return "";
}