使用类21 class exampleclass prIvate int data public: member function(parameter) assign value to data member function2o display data 17 大青鸟17 使用类 2-1 class exampleclass { private: int data; public: member_function1(parameter) { assign value to data } member_function2() { display data } };