问题详情

有如下程序: #include<iostream>#include<iosream> using namespace std; class BASE{ char c; public; BASE(char n):c(n){} virtual ~ BASE(){cout<<c;} }; class DERIVED; public BASE{ char c; public: DERIVED (char n): BASE (n+1)


A、XY

B、YX

C、X

D、Y

时间:2022-01-04 12:30 关键词:

答案解析

A