单项选择题
A.The code will fail to compile.
B.0 will be written to the standard output.
C.1 will be written to the standard output.
D.2 will be written to the standard output.
E.3 will be written to the standard output.
多项选择题 Whichstatementsconcerningthecorrelationbetweentheinnerandouterinstancesofnon-staticinnerclassesaretrue?()
多项选择题 Whichstatementsconcerningthemethodsnotify()andnotifyAll()aretrue?
多项选择题 Given the following interface definition, which definitions are valid?() interface I { void setValue(int val); int getValue(); } DEFINITION a: (a) class a extends I { int value; void setValue(int val) { value = val; } int getValue() { return value; } } DEFINITION b: (b) interface b extends I { void increment(); } DEFINITION c: (c) abstract class c implements I { int getValue() { return 0; } abstract void increment(); } DEFINITION d: (d) interface d implements I { void increment(); } DEFINITION e: (e) class e implements I { int value; public void setValue(int val) { value = val; } }