Java
1. Implement ArrayUnorderedList class which will extend ArrayList by defining the following additional methods(i) public void addToFront(T element); //Adds the specified element to the front of the list.(ii) public void addToRear(T element); //Adds the specified element to the rear of the list.(iii) public void addAfter(T element, T target); //Adds the specified element after the specified target element.a. Create an object of ArrayUnorderedList class and perform some add, remove, and search operations and finally print the entire Stack.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here