Question: I need help creating this Java program. Add the following methods to the DynamicList class without changing anv of the other code provided 1. (2


I need help creating this Java program.
Add the following methods to the DynamicList class without changing anv of the other code provided 1. (2 pts) public void printO prints a Dynamic list Reverse a list, so that the last element becomes the first, and so on. Combine two ordered list into a single ordered list Returns the sum of the integers in a list Form a list containing the union of the elements in two lists a. 2. (2 pts) public void reverseIteratively0 3. (2 pts) public void Concat(DynamicList x) 4. (2 pts) public int SumList0 5. (3 pts) public void union(DynamicList x) a. a. a. a. b. Steps i. You must print both dynamic list on separate lines ii. Then print the dynamic list containing the union of the two list on a new line 6. (3 pts) public void intersection(DynamicList x) Form a list containing the intersection of the elements of two lists Steps a. b. i. You must print both dynamic list on separate lines ii. Then print the dynamic list containing the intersection of the two list on a new line line 7. (3 pts) public void deleteEverySecond0 Deletes every second element from a list Steps to follow: a. b. i. Create a dynamic list with 8 elements ii. You must first print the dynamic list with the 8 elements on a new line iii. Then print the dynamic list again after calling DeleteEverySecond method on the dynamic list on a new line
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
