Collection random() method.

This method retrieves a random element from the collection's internal array.