class test { public: test( int val ); void setval( int val ); int getval(); private: int val; };