问题描述:
[单选]
在下列源代码文件Test.java中,哪个选项是正确的类定义()
A.public class test { public int x=0; public test(int { thix=x; } }
B.public class Test { public int x=0; public Test(int { thix=x; } }
C.publiclass Test extends Ti,T2 { publiint x=0; publiTest(int { thix=x; } }
D.protecteclass Test extends T2 { public int x=0; public Test(int { thix=x; } }
参考答案:查看无
答案解析:无
☆收藏
答案解析:无
☆收藏
- 我要回答: 网友(18.222.197.224)
- 热门题目: 1.如果一个模板声明列出了多个参 2.在int a=10,*p=& 3.以下哪个基类中的成员函数表示