Question: Exercise #1. Create a Java Application you must use java.util.LinkedList 1. Create 3 lists: list1, list2, list3 in the main method 2. Insert 10 integers

Exercise #1. Create a Java Application you must use java.util.LinkedList 1. Create 3 lists: list1, list2, list3 in the main method 2. Insert 10 integers (generated randomly between 20 and 60, do not insert duplicates) into listi in the main method. 3. Insert 15 integers (generated randomly between 20 and 60, do not insert duplicates) into list2 in the main method. 4. Write a method to print the elements of list 5 per line 5. Write a method to find and return the smallest value in a list. 6. Write a method to find the average of the even numbers in a list. 7. Given two lists, write a method to find the elements that are in one of the list but not in the other list and insert them into a third list. 8. Write a method to print a list in reverse 9. Test these methods
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
