36、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
(b)
题目:一个类中定义的成员变量只能被同一包中的类访问。下面的哪些修饰符可以获得需要的访问控制。
参看前面的题目中的叙述。
37、A public member vairable called MAX_LENGTH which is int type, the value of the variable remains constant value 100. Use a short statement to define the var...[ 查看全文 ]