單項(xiàng)選擇題

如果一個(gè)類需要從其他類繼承屬性和方法,需要使用的關(guān)鍵字是()。

A.import
B.extends
C.implements
D.package

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