[Solved] Declare a subclass method as a friend of the base class
write a getter method for that field in the employee class that checks if the caller is the manager. If so, return the value. solved Declare a subclass method as a friend of the base class