Question: Code Example 12-1 class Bmploree t private: string name double salary: int hire year? publie: Employee (string nane =, double salary =40000, int bire year
Code Example 12-1 class Bmploree t private: string name double salary: int hire year? publie: Employee (string nane =", double salary =40000, int bire year =2004 ): void set nase (string) : string get name() const: vold set_saiary (double) double get_salary () const: void net hire year(int) i int get hire gear() const: 11 (Refer to Code Example 12-1) What happens when this statement is executed? Eaployee enployee ("Joel Marach", 100000)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
