Suppose that you want an operation for the ADT list that returns the position of a given object in the list. The header of the method could be as follows:
public int getPosition(T anObject)where T is the generic type of the objects in the list. Write an implemention of this method for each of the two classes described in this chapter.
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.