Exercise in the previous chapter asked you to write statements at the client level that replace an object in a given list. Write a method at the client level that performs such a replacement. How does your method compare with the method replace of the ADT list?
Exercise
Suppose that the ADT list did not have a method replace. Write Java statements at the client level that replace an object in the list nameList. The object’s position in the list is givenPosition and the replacement object is newObject.
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.