你认为这个有问题吗?为什么!
#include <iostream.h>class A
{
public:
A(int=10,int=100);
A(int x, int y)
{
i = x;
j = y;
}
void print()
{
cout << i << endl;
cout << j << endl;
}
private:
int i;
int j;
};
main()
{
A a(1,2);
A b;
a.print();
//b.print();
return 0;
}