As shown above, For-each offers a brand new way to print elements. We don't need to use an explicit counter as an index to traverse our array.
確定! 回上一頁