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