Public
Private
Protected
Transient
No access modifier is required
第1题:
Which statement about access lists that are applied to an interface is true?()
第2题:
A member variable defined in a class can be accessed only by the classes in the same package. Which modifier should be used to obtain the access control?()
第3题:
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?()
第4题:
You want a class to have access to members of another class in the same package. Which is the most restrictive access modifier that will accomplish that will accomplish this objective?()
第5题:
Which two demonstrate encapsulation of data?()
第6题:
A class design requires that a member variable cannot be accessible directly outside the class. Which modifier should be used to obtain the access control?()
第7题:
You are creating a job class. You want access to the detailed information for all the runs of each job in the class and every operation performed on every job in the class. Which setting will you use for the LOGGING_LEVEL parameter?()
第8题:
public
no modifier
protected
private
第9题:
public
private
protected
transient
default access
第10题:
LOGGING_OFF
LOGGING_RUNS
LOGGING_FULL
LOGGING_NULL
第11题:
Member data have no access modifiers.
Member data can be modified directly.
The access modifier for methods is protected.
The access modifier to member data is private.
Methods provide for access and modification of data.
第12题:
public
private
protected
transient
default access
第13题:
Which statement about access lists that are applied to an interface is true?()
第14题:
Which statement about access lists that are applied to an interface is true?()
第15题:
Which two are benefits of fully encapsulating a class?()
第16题:
You want to limit access to a method of a public class to members of the same class. Which access accomplishes this objective?()
第17题:
You want to limit access to a method of a public class to members of the same class. Which access modifier accomplishes this objective?()
第18题:
You want subclasses in any package to have access to members of a superclass. Which is the most restrictive access that accomplishes this objective?()
第19题:
Public
Private
Protected
Transient
No access modifier is qualified
第20题:
Public
Private
Protected
Transient
No access modifier is required
第21题:
private
no modifier
public
protected
第22题:
public
private
protected
transient
default access
第23题:
Public
Private
Protected
Transient
No access modifier is qualified.
第24题:
Public
Private
Protected
Transient
No access modifier is required.