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