题目内容
请将如下程序补充完整,使程序的输出结果为“10-6”#include using namespace std;class Test {int x,y;public:Test(int i, int j) : [1] { }int get() const {return x-y;}int get(){return x+y;}};int main(){Test t1(4,6);[2] t2(2,8);cout<
查看答案
搜索结果不匹配?点我反馈
更多问题