Demo program for java.util.ArrayList Adding items to the list There are 4 items in the list. Here is the list, output method 1 item1 item2 item3 item4 Here is the list, output method 2 item1 item2 item3 item4 Here is the list, output method 3, using toString() [item1, item2, item3, item4] Removing 2nd Item Removed : item2 Here is the list after removal of an item item1 item3 item4 Adding (inserting) item back to it's position Here is the list after additon of item item1 item2 item3 item4 Adding several more items Here is the list after additon of several items, unsorted item1 item2 item3 item4 item9 item7 item8 item6 Sorting items Here is the list after sorting item1 item2 item3 item4 item6 item7 item8 item9 Searching for Hello Item NOT found Searching for item8 Item found at position 6