多项选择题
Which the two demonstrate encapsulation of data?()
A. Member data have no access modifiers.
B. Member data can be modified directly.
C. The access modifier for methods is protected.
D. The access modifier to member data is private.
E. Methods provide for access and modification of data.
点击查看答案
相关考题
-
单项选择题
What OrderSErvlet method is invoked as a result of this from submission?()
A. doGET
B. doPUT
C. doPost
D. doTrace
E. doSubmit -
单项选择题
After execution. What are the values for i and j ()
A. i = 6 and j = 5
B. i = 5 and j = 5
C. i = 6 and j = 4
D. i = 6and j = 6 -
单项选择题
Which statement at Point X on line 1 allows this code to compile and run?()
A. import java.io.*.;
B. include java.io.*;
C. import java.io.PrintWriter;
D. include java.io.PrintWRiter;
E. No statement in needed.
