If we made Go Fish Hand (Chapter 5) extend Linked List instead of Array List, would we have to change anything else in the Go Fish Hand or Go Fish classes? Explain.
Write a Linked List method swap() that takes two ints as arguments and swaps the elements at those two positions. Your method should not traverse the list twice to find the two elements, and it should not create or destroy any nodes.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here