Java
Implement a List using array:a. Implement ArrayList class of ListADT interface which will define the followingmethods(i) public T removeLast(); //Removes and returns the last element in the list.(ii) public T removeFirst(); //Removes and returns the first element in the list.(iii) public T remove(T element); //Removes and returns the specified element.(iv) public boolean contains(T target); //Return True if the list contains the targetelement otherwise False.(v) public String toString(); // Returns a string representation of the list.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here