以下程序的运行结果是()
#include <iostream> using namespace std; class Sample{ public: Sample(int i, int j) { x = i; y = j; } void disp() { cout << "disp1" << endl; } void disp() const { cout << "disp2" << endl; } private: int x, y; }; int main(){ const Sample a(1,2); a.disp(); return 0; }