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

 i am not good with computers please explain what you did
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 just use classes and objects. if i am stupid please tell me i am wrong. thank you

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!