单项选择题

在下列源代码文件Test.java中, ( )是正确的类定义。

A.public class test
B.public class Test
public int x=0;public int x=0;
public test (intx) public Test (int x)
this.x=x;
this.x=x;


C.public class Test extends T1,T2
D.protected class Test extends T2
public int=0;public int x=0;
public Test(int x)Public Test (int x)
this.x=x;this.x=x: