1. Repeat the previous exercise, but this time specify a valued method getShuffledDeck that returns a shuffled array of cards without altering the array given to it as an argument.
2. Suppose that you define an array of names by writing
String[] names = {"Joe", "Maria", "Chad", "Kim"};
Is the following statement legal? Explain your answer.
names[4] = "Jodi";
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here