單項(xiàng)選擇題要設(shè)置一個(gè)類的屬性為私有的,應(yīng)使用關(guān)鍵字()

A.public
B.private
C.pretected
D.static


您可能感興趣的試卷

你可能感興趣的試題

1.單項(xiàng)選擇題下列常見(jiàn)的系統(tǒng)定義的異常中,哪個(gè)是輸入輸出異常()

A.ClassNotFoundException
B.IOException
C.FileNotFoundException
D.UnknownHostException