多项选择题
A.int doStuff() { return 42; }
B.int doStuff(int x) { return 42; }
C.Foo doStuff(int x) { return new Foo(); }
D.SuperFoo doStuff(int x) { return new Foo(); }
多项选择题 可能抛出SecurityException异常的操作是哪些?()
多项选择题 遍历全部数组元素的方法有?()
多项选择题 1. class HorseRadish { 2. // insert code here 3. protected HorseRadish(int x) { 4. System.out.println("bok choy"); 5. } 6. } 7. class Wasabi extends HorseRadish { 8. public static void main(String [] args) { 9. Wasabi w = new Wasabi(); 10. } 11. } 分别插入到第 2 行,哪两项允许代码编译并产生"bok choy" 输出结果?()