1. Define a static valued method, getReversedArray, that returns an array whose entries are in the reverse order of the entries in the array given as the method’s argument. The method should not alter its argument. Consider the hint given in the previous exercise.
2. Consider a class CardGame. Write descriptive comments and the header for a void method, shuffleDeck, of this class that accepts an array of Card objects and shuffles them.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here