when i was using Collections class to find the minimum of the integer element in list(Collections.min(array)), it was throwing error. but finding the minmum element manually by iterating over each element of list test got verified. Why so?