Review the following C++ class structure:class Employee {pri…
Review the following C++ class structure:class Employee {private: 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