change value at certain indexes in an arraylist code example Example: modify element in list java list.set( 2, "New" );