Implement the method get Position, as described in Exercise 5 of Chapter 8 , for each of the classes Array List and Linked List .
Exercise 5:
Suppose that the ADT list has a method get Position that returns the position of a given entry within the list. Write specifications for such a method.