接口中的方法默认的访问控制方式是()A、publicB、privateC、protectedD、default
接口中的方法默认的访问控制方式是()
- A、public
- B、private
- C、protected
- D、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