From the course: Oracle Java Foundations

Unlock this course with a free trial

Join today to access over 24,000 courses taught by industry experts.

Quiz: Human resources use case

Quiz: Human resources use case - Java Tutorial

From the course: Oracle Java Foundations

Quiz: Human resources use case

(bright subtle music) - [Instructor] All right, let's put this together and see a very simple example, in this case, in the context of a human capital management, HCM system. We need to be able to assign a new employee to a department. Now, as we go through this, think about, what classes will we need and what attributes and behavior should they have to solve this problem? And think about this before going on and seeing what the solution is. So, what we want the system to do is first create a new employee, then we need to go find and retrieve a specified department using a DepartmentFinder object that would find a given department for us, maybe based on department name or department number, then we need to assign that newly created employee to that specific department. After the new employee is assigned, we have to print a list of employees in that department. It should print out a list and it should retrieve that new employee that we just added to the department. Now, think about…

Contents