17. Compare two array lists.
18. Trim the capacity of an array list the current list size.
19. Increase the size of an array list.
20. Clone an array list to another array list.
21. Join two array lists.
22. Print all the elements of an ArrayList using the position of the elements.
1. Create a new array list, add some colors (String) and print out the collection.
2. Iterate through all elements in an array list.
3. Insert an element into the array list at the first position.
4. Retrieve an element (at a specified index) from a given array list.
5. Update a specific array element by given element.
6. Remove the third element from an array list.
7. Search an element in an array list.
8. Sort a given array list.
9. Shuffle elements in an array list.
10. Reverse elements in an array list.
11. Swap two elements in an array list.
12. Extract a portion of an array list.
13. Replace the second element of an ArrayList with the specified element.
14. Empty an array list.
15. Test an array list is empty or not.
16. Copy one array list into another.