Java 8 新加入的方法參考(Method References),是lambda 表達式的一種,當你 ... 所以range 並不會直正執行迴圈計算,接下來看看forEach() 方法:
確定! 回上一頁