请在划线处填写构造函数的声明,使得语句Point p1;创建的p1对象为原点。 (2分) class Point {
public: _____________________________________ private: int x,y;
};
Point(int _x = 0, int _y = 0)
{ this->x = _x; this->y = _y; }
Point(){x=y=0;}