What's this code going to print to the console?

[Robin, Ted]"Robin", "Ted"[Rachel, Ross, Robin, Ted][Ted, Robin]

Nice! Arrays.toString(friends) creates a bracket-enclosed, comma-separated and ordered string of the elements in friends.

So close! Arrays.toString(friends) creates a bracket-enclosed, comma-separated and ordered string of the elements in friends.