Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Program Description: You will need to develop a system that can track employee information for two Organizations ( Acme , Inc. and ABC Co .

Program Description:
You will need to develop a system that can track employee information for two Organizations (Acme, Inc. and ABC Co.).
General view of what your system should be able to do:
Add employees to the system, the employee must be working for one of the companies in the system (Acme, Inc. and ABC Co.).
Update employees information.
Print employees information.
Print the number of all employees of a specific company.
Print the number of all employees in the system (in both companies).
System Structure:
Employee Class:
The Employee information you must track is as follows:
ID (This is randomly generated.)
Name
Gender
Job Title
Organization (They work for.)
Hire Date
As for the Organization that the Employee works for, you must also track this information:
Organization Name
Number of Employees of each Organization
Note: If an employee is added to a specific company, only the number of employees in that company is incremented by one, not the other.
Employee Management Class:
This class will be used to test and run the Employee Class above. It will contain the main method. It should display a menu to the user which they can choose from the following:
Add Employee
Remove Employee
Update Employees Information: o Update the Name
o Update the Job Title
o Update the Employee Workplace
Print the Number of Employee:
o For the Whole System
o Acme, Inc. Only
o ABC Co. Only
Print Employees Information For:
o A Single Employee
o All Employees in the System o Acme, Inc. Employees
o ABC Co. Employees
Hint: Use an Array List variable to store the employee data.
Program Input Validation:
The program must do error checking for all input data into the system. For example, if the expected input is a whole number, then nothing but integers should be accepted (That means No characters, real numbers, or text, etc.).
Your programs and all further programs should have a program description header that goes at the top of the source file which gives information about the programmer and program. See the example header below.
//******************************************************************************************//
// Name: Susie Q. Programmer
// Course: CS141
// Program Name: Hello World
//
// Description: A brief description of the program. What does the program do
//(not how it does it: for example, it uses loops)? Does the program get input?
// What kind? What information is output from the program and to where (screen or file)//******************************************************************************************//
import ...

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Systems For Advanced Applications 15th International Conference Dasfaa 2010 International Workshops Gdm Benchmarx Mcis Snsmw Diew Udm Tsukuba Japan April 2010 Revised Selected Papers Lncs 6193

Authors: Masatoshi Yoshikawa ,Xiaofeng Meng ,Takayuki Yumoto ,Qiang Ma ,Lifeng Sun ,Chiemi Watanabe

2010th Edition

3642145884, 978-3642145889

More Books

Students also viewed these Databases questions