Implement the method swap, as described in Self-Test Exercise, but remove the assumption that the ith and jth items in the list exist. Throw an exception ListIndexOutOfBoundsException if i or j is out of range.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.