how to get the value of index in arraylist in java code example Example: arraylist get value at index java get(index);