update value of an arraylist java

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