10. interface A { void x(); } 11. class B implements A { public void x() { } public voidy() { } } 12. class C extends B { public void x() {} } And: 20. java.util.List list = new java.util.ArrayList(); 21. list.add(new B()); 22. list.add(new C()); 23. for (A a:list) { 24. a.x(); 25. a.y();; 26. } What is the result?()
A. The code runs with no output.
B. An exception is thrown at runtime.
Compilation fails because of an error in line 20.
D. Compilation fails because of an error in line 21.
E. Compilation fails because of an error in line 23.
F. Compilation fails because of an error in line 25.
查看答案
常用模板设计需要考虑设计荷载和()。
A. 模板刚度
B. 计算荷载
C. 预拱度
下列哪项不符合子痫前期的临床表现()
A. 高血压,尿蛋白加重并伴有自觉症状
B. 尿蛋白0.5g/24h
C. 尿量少
D. 眼底动静脉比例为1:2
E. 水肿