單項(xiàng)選擇題

選項(xiàng)中哪一行代碼可以替換題目中//add code here而不產(chǎn)生編譯錯(cuò)誤?()

A.public abstract void method(int a);
B.constInt = constInt + 5;
C.public int method();
D.public abstract void anotherMethod() {}

微信掃碼免費(fèi)搜題