而在Groovy中有點不一樣的地方,是使用[]來定義的Map,如下所示:classExample{staticvoidmain{//定義一個MapdefageMap=["Ken":21,"John":25 ...
確定! 回上一頁