Question: i am not good with computers please explain what you did and why, i dont understand why consturcters and desturctors are necessary when you can
Instructions Submit C++ File. Define a class name Employee as follows: a. Data members are name, age, serviceYear, salary. b. Define a parameter constructor and a destructor. c. Accessor member functions are getName, getAge, getServiceYear, and getSalary
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
