It doesn't know what data type is returned. The compiler will require an explicit casting: Integer i = (Integer) list.iterator.next();.
確定! 回上一頁