单项选择题
A. line 1
B. line 2
C. line 5
D. line 8
单项选择题 Aclassdesignrequiresthatamembervariablecannotbeaccessibledirectlyoutsidetheclass.Whichmodifiershouldbeusedtoobtaintheaccesscontrol?()
多项选择题 Whichofthefollowingstatementsaboutvariablesandscopearetrue?()
单项选择题 Given the following code: 1) public void modify() { 2) int i, j, k; 3) i = 100; 4) while ( i > 0 ) { 5) j = i * 2; 6) System.out.println (" The value of j is " + j ); 7) k = k + 1; 8) i--; 9) } 10) } Which line might cause an error during compilation?()