Java Question (Classes To Be Used Below)
Given a series of user actions in the social network that isinitially empty, recommend new possible friendships after one userfriends another user. For example, if Alice, Bob, and Carol are allnetwork members, and Alice and Bob are friends. If Bob and Carolbecome friends, then your program should recommend that Alice andCarol should become friends. For example, given the user actionsthe resulting recommendations would be:
Alice joins
Carol joins
Bob joins
Bob friends Alice
Bob friends Carol
Dave joins
Dave friends Bob
end
Figure 2: Sample user actions.
Alice and Carol should be friends
Alice and Dave should be friends
Carol and Dave should be friends
Your task
PayPal Gateway not configured
PayPal Gateway not configured