2011-02-28 76 views

回答

5

你需要使用“高清”修饰符在Groovy如果你没有声明一个类型的方法:

class A { 
    def methodA() { 
    } 
} 

应该工作。