题目内容
(请给出正确答案)
[主观题]
给出下面的代码: 1)public class Test { 2)int m, n; 3)public Test() () 4)public Test(int a) {m=a;
给出下面的代码:
1)public class Test {
2)int m, n;
3)public Test() ()
4)public Test(int a) {m=a; }
5)public static void main(string arg[]) {
6)Test t1,t2;
7)int j,k;
8)j=O; k=0;
9)t1=rlew Test();
10)t2=new Test(j,k);
11)}
12)}
在编译时行将导致一个错误。
A.3 B.5 C.6 D.10
如搜索结果不匹配,请 联系老师 获取答案