how to remove an element at an index in Arraylist code example Example: remove position of arraylist java ArrayList.remove(a);