日韩欧美亚洲 _ 欧美亚洲一区 _ 日本亚洲欧美 _ 亚洲精品欧美 国产白袜脚足J棉袜在线观看_亚洲熟妇av一区二区三区_久久天天躁狠狠躁夜_精品众筹模特私拍在线

單項(xiàng)選擇題

10. public class SuperCaic { 
11. protected static int multiply(int a, int b) { return a * b; } 
12. } 
and: 
20. public class SubCalc extends SuperCalc { 
21. public static int multiply(int a, int b) { 
22. int c = super.multiply(a, b); 
23. return c; 
24. } 
25. } 
and: 
30. SubCalc sc = new SubCalc(); 
31. System.out.println(sc.multiply(3,4)); 
32. System.out.println(SubCalc.multiply(2,2)); 
What is the result?()

A. 12 4
B. The code runs with no output.
C. An exception is thrown at runtime.
D. Compilation fails because of an error in line 21.
E. Compilation fails because of an error in line 22.
F. Compilation fails because of an error in line 31.

題目列表

你可能感興趣的試題

微信掃碼免費(fèi)搜題