How to reset the index to 0 in an arraylist : As per the flow..
I added 3 values to arraylist
then removed the value for the index 1

then when i am trying to display all values using for loop, i am getting below error.
**Code** marked where the exception occurred
[Code][1]


Below is the error message
[error][2]


  [1]: http://i.stack.imgur.com/nY4Wc.png
  [2]: http://i.stack.imgur.com/Sr2f5.png