DEVRY ECET 370 Entire Course DEVRY ECET 370 Week 3 Lab 3 Linked Lists

DEVRY ECET 370 Week 3 Lab 3 Linked Lists

Check this A + tutorial guideline at

http :// www . assignmentclick . com / ecet- 370 / ecet-370-week-3-lab-3-linked-lists

General Instructions

For more classes visit http :// www . assignmentclick . com

Exercises 1 , 2 , and 3 use the programs in DocSharinglabeled “ User-defined linked list ."
Exercise 4 uses the programs in DocSharinglabeled “ Using java . util . LinkedList ."
Exercise 1 : Review of Linked Lists Create a project using the classes in the DocSharing area labeled “ User-defined linked list ." Compile it , run it , and review the code that is given carefully . This code tests the LinkedList class provided in the lecture . Extend the class Main to test the functions isEmpty , search and remove of the class LinkedList .
Exercise 2 : A User-Defined Linked List Modify the class LinkedList given in the lecture by adding to it the functions listed below for Exercise 2 . In each case , the appropriate error message should be generated if an invalid condition occurs . a . toString (): modify the display function to overload the toString function of the Object class . b . int length (): create this function to determine the number of items in the list ( accessor function ). c . void clear (): create this function to remove all of the items from the list . After this operation is completed , the length of the list is zero . d . void insertEnd ( int item ): create this function to insert item at the end of the list . e . void