你可能喜欢
单项选择题
A. import java.io.*.;
B. include java.io.*;
C. import java.io.PrintWriter;
D. include java.io.PrintWRiter;
E. No statement in needed.
多项选择题
A. float getVar() {return x:}
B. public float getVar() {return x; }
C. public double getVar() {return x; }
D. protected float getVar() {return x; }
E. public float getVar(float f) {return f;}
多项选择题
A. The foo initialization parameter CANNOT be set programmatically.
B. Compilation fails because getlnitParameter returns type Object.
C. The foo initialization parameter is NOT a servlet initialization parameter.
D. Compilation fails because ServletContext does NOT have a getlnitParameter method.
E. The foo parameter must de defined within the
F. The foo initialization parameter can also be retrievedusing getSErvletConfig(). GetlnitParameter (“foo”).
多项选择题
A. request.getHeader (“X-Retries”)
B. request.getIntHeader (“X-Retries”)
C. request.getRequestHeader (“x-Retries”)
D. request.getHeaders (“X-Retries”).get (0)
E. re request.getRequest Headers (“X-Retries”). Get (0)
单项选择题
A. i = 6 and j = 5
B. i = 5 and j = 5
C. i = 6 and j = 4
D. i = 5 and j = 6
E. i = 6 and j = 6
单项选择题
A. just after line 5
B. just after line 6
C. just after line 7 (That is. As the method returns)
D. Never in this method
多项选择题
A. 3 / 2
B. 3 < 2
C. 3 * 4
D. 3 << 2
E. 3 * 22
F. 3 <<<2
单项选择题
A. The MyCircle class is full encapsulated.
B. The diameter of a given MyCircle is guaranteed to be twice its radius.
C. Lines 6 and 7 should be in a synchronized block to ensure encapsulation.
D. The radius of a MyCircle object can be set without affecting its diameter.