單項選擇題在類中定義一個方法,若使其只供類的內(nèi)部使用,訪問符應(yīng)設(shè)置為()。

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


您可能感興趣的試卷