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