Question: How do you code this? Using Eclipse IDE for Java 1.(4 pts) Given a list of names (all in lowercase), create a method to remove

 How do you code this? Using Eclipse IDE for Java 1.(4

How do you code this? Using Eclipse IDE for Java

1.(4 pts) Given a list of names (all in lowercase), create a method to remove the duplicate names. Return a list of names without duplication, all names should be in lowercase, and keep the order in the original list. 2. (2 pts) Use an example to test your method: Input: ["james", "james", "bill", "mary", "mike", "mary"] Output: ["james", "bill", "mary", "mike"]

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!