單項選擇題

要使一個方法在非同包子類中可見但不能重寫,可以使用下面哪組修飾符組合?()

A.private static
B.static
C.protected final
D.private final

微信掃碼免費搜題