You can remove elements in an ArrayList using the remove method in two ways:
remove
arr.remove(0); span> //removes the first element arr.remove(< strong>new Integer(10)); //deletes element with value 10
N
1000 ms 256 Mb Rules for program design and list of errors in automatic problem checking