how to get an element in an array list java code example Example: get element in arraylist java ArrayObject.get(indexOfElement);