class Point { private: double x, y; public: Point(); Point(double x); Point(double x, double y); // other methods };