分类: C+ + 程序设计(04737) 发布时间: 2024-07-27 17:44 浏览量: 0

【正确答案】:testl ( int a) { x = a; } 没有适当的默认构造函数,可以修改为testl ( int a) :test(a){ x = a; }