给定以下C++代码:
class Point { public: double x, y; Point(double px, double py) : x(px), y(py) {} void print() { cout << "(" << x << ", " << y << ")"; } }; int main() { Point a(3.0, 4.0); // ① Point b; // ② a.print(); }
正确
错误