DEVRY ECET 370 Entire Course DEVRY ECET 370 Week 3 Lab 3 Linked Lists | Page 2

replace ( int location , int item ): create this function to replace the item in the list at the position specified by location . The item should be replaced with item . f . int get ( int location ): create a function that returns the element at the position location .
Exercise 3 : Using a Linked List This exercise is similar to Exercise 3 in Lab 2 , but uses the LinkedList class implemented in Exercise 2 above . That is , using the class LinkedList , write a program that uses it to store 100 random numbers . Again , consider that each of these random numbers is an integer in the interval [ 0 , 200 ]. Write the program in such a way that there are no number duplicates .
Exercise 4 : Review of the Library Class java . util . LinkedList Create a project using the class in the DocSharing area labeled “ Using java . util . LinkedList ." Compile it , run it , and review the code that is given carefully . This code is the complete program given in our lecture that tests the library class java . util . LinkedList .
Exercise 5 : Using the Library Class java . util . LinkedList Rewrite Exercise 3 ( above ) using the class java . util . LinkedList to store the 100 random numbers .