java get element of list[] by index code example Example: arraylist get value at index java get(index);