网友您好, 请在下方输入框内输入要搜索的题目:
题目内容
(请给出正确答案)
接口中的方法默认的访问控制方式是()
- A、public
- B、private
- C、protected
- D、default
参考答案
更多 “接口中的方法默认的访问控制方式是()A、publicB、privateC、protectedD、default” 相关考题
考题
You want a class to have access to members of another class in the same package. Which is the most restrictive access that accomplishes this objective?() A、 publicB、 privateC、 protectedD、 transientE、 default access
考题
You want to limit access to a method of a public class to members of the same class. Which access accomplishes this objective?() A、 publicB、 privateC、 protectedD、 transientE、 default access
考题
You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?() A、 publicB、 privateC、 protectedD、 transientE、 default access
考题
单选题You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?()A
publicB
privateC
protectedD
transientE
default access
考题
单选题You want to limit access to a method of a public class to members of the same class. Which access accomplishes this objective?()A
publicB
privateC
protectedD
transientE
default access
考题
单选题实例变量默认的访问修饰符是()A
@publicB
@privateC
@protectedD
@package
热门标签
最新试卷