Objective: Perform basic operations on a List.
Steps:
Create an ArrayList of String type.
Add five different elements to the list.
Display the elements of the list.
Remove the third element from the list.
Update the second element to a new value.
Display the final list.