Walmart Labs Interview Question
Software DevelopersTeam: Customer experience
Country: United States
Interview Type: In-Person
class individualContributor: public employee
{
private data..
public:
getSalary() {};
getRoleDescription() {};
//Added reporting manager
private Manager reportingManager;
};
class Manager: public employee
{
private data..
public:
getSalary() {};
getRoleDescription() {};
// Add Relation to the managing employees
private List<Employee> mangedEmployees;
};
class Director: public employee
{
private data..
public:
getSalary() {};
getRoleDescription() {};
// Add Relation to the managing employees
private List<Employee> mangedEmployees;
};
Each of the above designation has certain characteristics that differentiate them from the other. My class system would be
- santoshbr4 October 26, 2015