It is a default method defined in the Iterable interface. Collection classes that extend Iterable interface can use the forEach() loop to iterate elements.
確定! 回上一頁