Groovy 除了承襲Java 原有的控制結構外,能以簡潔的語法使用迭代器是Groovy 的一大特色。 ... 只要 condition 為真, while 區塊內的程式碼就會重覆執行。
確定! 回上一頁