Ordering the Elements in Lists
In this assignment we will offer two ways to list the usersassociated with the Facebook class.
1. list the users alphabetically
2. list the users by in order by the size of their friends list,most friends to least friends
We will also change the way the Recommended Friends option displaysthe list of friends.
Change the menu to the below:
Menu
1. List Users Alphabetically
2. List Users by Number of Friends
3. Add a User
4. Delete a User
5. Get a Password Hint
6. List Friends
7. Add Friend
8. Remove Friend
9. Recommend Friend
10. Quit
List Users Alphabetically
In the second assignment you made the FacebookUser class implementComparable, ensuring
that the
PayPal Gateway not configured
PayPal Gateway not configured