A university has a corporate Human Resource System that hand

A university has a corporate Human Resource System that handles HR transactions such as new hires, terminations, job changes, payroll, personal data maintenance and more.

Describe at least three different classes that the program may contain. For each class, list at least two fields and two methods that each class may contain; explain the purpose of each method.

Solution

Class HR_Admin

{

string hr_name,hr_id

public:

void Add_Employee();//It will add details of employee using Employee_details class

void Add_TrainingDetails();//It will training details of employee using TrainingDetails class

void Add_Compensation(); ;//It will training details of employee using Compensation class

}

Class Employee_details

{

string Department;

Date join_date;

public:

string get_Emp_name();//Get name of employee

Date get_JoinDate();//returns joining date of employee

}

class TrainingDetails

{

string department,location,ename;

int get_duration();//Return duration of training of employee

void Assign_training();//Asssign proper training to employee

}

class Compensation

{

int Amt,yr_of_work,salary;

public:

void add_Compensation();//Add Compensation to salary

void Skill_Report();//Generate report of employee

}

A university has a corporate Human Resource System that handles HR transactions such as new hires, terminations, job changes, payroll, personal data maintenance
A university has a corporate Human Resource System that handles HR transactions such as new hires, terminations, job changes, payroll, personal data maintenance

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site