def bean = new AGroovyBean(); ... 同Perl 與Ruby,在Groovy 裡面的function call 的圓括號是可以省略的,Closure 也有多種寫法: def run ...
確定! 回上一頁