Review the following C++ class structure:class Employee {pri…

Questions

Review the fоllоwing C++ clаss structure:clаss Emplоyee {privаte: std::string name; int age;protected: double salary;public: Employee(const std::string& empName, int empAge, double empSalary) : name(empName), age(empAge), salary(empSalary) {} void displayInfo() const { std::cout