update value of an arraylist java

Java
//first arg it is position
yourExistingArray.set(1, "New Value");
Source

Also in Java: