double x() const;string toString() const; 在只读的成员函数x(),toString()末尾使用const关键字。在只读 你的当前访问异常,请进行认证后继续阅读剩余内容。 提交