範例
public class
ClassA {
static final void
testMethod () {
}
}
解決方案
從方法宣告中移除
final
。
public class
ClassA {
static void
testMethod () {
}
}