單項(xiàng)選擇題

A member variable defined in a class can be accessed only by the classes in the same package. Which modifier should be used to obtain the access control?()         

A. private
B. no modifier
C. public
D. protected

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