// // The test class // class Test { private: float XXX; float YYY; public: void function1() { XXX = 123.456; } float function2() { YYY = 789.123; return YYY; } float getFunction2() { return XXX; } };