你可能喜欢
多项选择题
A. i = 1, j = 0
B. i = 1, j = 4
C. i = 3, j = 4
D. i = 3, j = 0
E. Compilation fails.
单项选择题
A. If a is true and b is true then the output is “A&&B”.
B. If a is true and b is false then the output is “notB”.
C. If a is false and b is true then the output is “ELSE”.
D. If a is false and b is false then the output is “ELSE”.
单项选择题
A. Hello
B. Hello Foo
C. Hello world
D. Compilation fails.
E. The code does not run.
多项选择题
A. static class InnerOne { public double methoda() { return d1; } }
B. static class InnerOne { static double methoda() { return d1; } }
C. private class InnerOne { public double methoda() { return d1; } }
D. protected class InnerOne { static double methoda() { return d1; } }
E. public abstract class InnerOne { public abstract double methoda(); }
单项选择题
A. int
B. byte
C. long
D. short
E. float
F. double
单项选择题
A. finished
B. Compilation fails.
C. An AssertionError is thrown and finished is output.
D. An AssertionError is thrown with the message “assertion failed”.
E. An AssertionError is thrown with the message “assertion passed”.
单项选择题
A. BD
B. BCD
C. BDE
D. BCDE
E. ABCDE
F. Compilation fails.
多项选择题
A. byte
B. long
C. char
D. float
E. Short
F. Long
单项选择题
A. public
B. private
C. protected
D. transient
E. default access
单项选择题
A. finished
B. Compilation fails.
C. An AssertionError is thrown.
D. An AssertionError is thrown and finished is output.