By creating a new array of size n-1, where n is the size of the original array, and copying everything in this array without the element which needs to be removed By using the ArrayList’s add method.