作业帮 > 综合 > 作业

In Java,the implementation details of a tightly encapsulated

来源:学生作业帮 编辑:搜搜做题作业网作业帮 分类:综合作业 时间:2024/07/14 13:14:45
In Java,the implementation details of a tightly encapsulated class should have () accessibility
A public B private C protected D null of above
In Java,the implementation details of a tightly encapsulated
选b private
翻译过来的意思是,在java里,一个封装良好的类,内部的实现细节的可访问性应该是(私有的)
作为面向对象语言的特性之一,封装性要求内部实现不对外公开,所以选B