index of current arraylist element code example Example: arraylist get value at index java get(index);