question about designing two classes in c++ without lessening encapsulation

Printable View