Question: Please use java to finish this program, thx! Exercise 2: Design a class called ListUtility.java that contains a list of static methods that manipulate unordered

 Please use java to finish this program, thx! Exercise 2: Designa class called ListUtility.java that contains a list of static methods that

manipulate unordered lists. public class ListUtility public static Lis findUnion(List listl, List

Please use java to finish this program, thx!

Exercise 2: Design a class called ListUtility.java that contains a list of static methods that manipulate unordered lists. public class ListUtility public static Lis findUnion(List listl, List list2)( //Create and return a third list that contains //the items that are either in listl or in list2 or both. //Do not add duplicates. public static List findIntersection(List listl, Listlist2) //Create and return a third list that contains the items /Ithat are common to both listl and list2 //Do not add duplicates. public static List interleave(List listl, List list2) //create and return a third list that contains the items //in listl interleaved with the items in list2 //For example, listl (A, C>, list2 (B, P, M, N, 2) //list3A, B, C, P, M, N, 2) public static List chopSkip(List listl)( //Create and return a list that has the items in listl //with every second item removed. //For example, if listl-A, B, C, D, E) /Ithe list returned is (A, C, E

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!