public E set(int index, E element) //The set() method of //java.util.ArrayList class is used to replace the //element at the specified position in this list with //the specified element.