Given that an ArrayList named a whose elements are of type Integer has been declared, assign the value -1 to the last element in a.