-->
当前位置:首页 > 题库

单选题:For the code below, which one can replace the line 7?( )

Luz5年前 (2021-05-10)题库1490
For the code below, which one can replace the line 7?( ) @[C](2)


```Java
public class Base {
int w,x,y,z;
public Base(int a, int b) {
x=a;y=b;
}
public Base(int a, int b, int c, int d) {
x=a;y=b; // line 7
w=d;z=c;
}
}
```

A. Base(a,b)
B. this(a,b,x,y)
C. this(a,b)
D. Base(x,y)




A.Base(a,b)
B.this(a,b,x,y)
C.this(a,b)
D.Base(x,y)


答案:C