请看下列代码:public int print(String msg){return 0;}print方法的使用正确的是:
A. int result=print(100);
B. String result=print(100);
C. int result=print("hello");
D. String result=print("hello");
请看下列代码public class Num {public static void main(String[] args) {go();}public static void go() {String o = "";for (int x = 0; x < 3; x++) {for (int y = 0; y < 2; y++) {if (x == 1)break;if (x == 2 && y == 1)break;o = o + x + y;}}System.out.println(o);}}
A. 00
B. 0001
C. 000120
D. 00012021