单选题 C++
题号 #145165

有如下程序: 
#include  
using namespace std;  
class AA{  
int n;  
public:  
AA(int k):n(k){ }  
int get( ){ return n;}  
int get( )const{ return n+1;}  
};  
int main( )  
{  
AA a(5);  
const AA b(6);  
cout < 
}  
执行后的输出结果是(  )

进入在线模考

参考答案

B

答案解析

暂无解析

你可能感兴趣的试题

找试题 · 找答案 · 找资料 在线模考