有如下程序,执行后的输出结果是。#include<
有如下程序,执行后的输出结果是()。
#include<iostream>
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<<a.get()<<b.get();
return 0;
}