getting the array element by its index in arraylist code example Example: arraylist get value at index java get(index);