假设在包 com.db 下定义了一个类,如果要让包com.util下的所有类都能够访问这个类,那么这个类必须定义为()。
A.protected
B.private
C.default
D.public
正确答案:public
猜你喜欢