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