Which Collection Classes?
For each scenario, describe which Collection class(es) you would use, how you would use the class(es), and why you chose those class(es).
a. You keep track of all U.S. states that you have visited. Your program should have the capability to:
• add a state to the list, and
• determine whether or not you have visited a particular state.
b. You store the names of all people to whom you have sent email. Your program should be able to:
• retrieve a particular person’s email address,
• add a new name and email to the list,
• print the list out in alphabetical order.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.