Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

i really need help with this java code :( e #3. (CLO 2; 7 Points) Create a Java Application you must use java.util.LinkedList 1. Create

i really need help with this java code :(
image text in transcribed
e \#3. (CLO 2; 7 Points) Create a Java Application you must use java.util.LinkedList 1. Create 3 lists: list1, list2, list 3 in the main method. 2. Insert 10 integers (generated randomly between 20 and 60 , do not insert duplicates) into list 1 in the main method. 3. Insert 15 integers (generated randomly between 20 and 60 , do not insert duplicates) into list 2 in the main method. Repeat the process for list 3. 4. Write a method to print the elements of a list, 5 elements per line and apply it on list1. 5. Write a method to find and return the smallest value in a list and call it for list2. 6. Write a method to find the average of the even numbers in a list and use it for list3. 7. Given two lists as parameters, write a method to find the elements that are in the first list but not in the other list and insert them into a third list (the difference). The third list is returned by the method. Apply the method on list2 and list 3 , respectively. 8. Write a method to print a list in reverse order and apply it on list1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems A Practical Approach To Design Implementation And Management

Authors: THOMAS CONNOLLY

6th Edition

9353438918, 978-9353438913

More Books

Students also viewed these Databases questions

Question

What is the fundamental accounting equation?

Answered: 1 week ago