3 ms·
Why not department.transfer(employee) or workplace.transfer(employee, department_from, department_to)? I think that sometimes the most OOP way is just to write
by LudwigNagasena 5y ago
Why not department.transfer(employee) or workplace.transfer(employee, department_from, department_to)? I think that sometimes the most OOP way is just to write
struct PersonnelRecord {
char name[100];
int socialSecurityNumber;
char department[10];
float salary;
}
and be done with it.