how to get all data from arryalist code example Example: arraylist get value at index java get(index);