一道Java选择题,下面这句话什么意思看不懂In Java,the implementation details of a tightly encapsulated class should hava( )accessibilityA public B protectedC privateD none of above

来源:学生作业帮助网 编辑:六六作业网 时间:2024/12/26 03:01:35
一道Java选择题,下面这句话什么意思看不懂InJava,theimplementationdetailsofatightlyencapsulatedclassshouldhava()accessib

一道Java选择题,下面这句话什么意思看不懂In Java,the implementation details of a tightly encapsulated class should hava( )accessibilityA public B protectedC privateD none of above
一道Java选择题,下面这句话什么意思看不懂
In Java,the implementation details of a tightly encapsulated class should hava( )accessibility
A public
B protected
C private
D none of above

一道Java选择题,下面这句话什么意思看不懂In Java,the implementation details of a tightly encapsulated class should hava( )accessibilityA public B protectedC privateD none of above
C
题目的意思: 在 Java 中,密封类的实现细节应该具有何种访问权限
密封类的实现细节,应该是隐藏的,所以是 private