arraylist object get object by name code example Example: arraylist get value at index java get(index);