class A{ private: void privateA1(); void privateA2(); void recursiveA1(int); public: void publicA1(); void publicA2(); }; class B{ private: void privateB1(A); public: void publicB1(A); };