How to get value from an arraylist? code example Example: arraylist get value at index java get(index);