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