Question
Help me Write two Java programs that stores and retrieves employees information. The first program, called StoreInfo.java, asks the following information about each employee and
Help me Write two Java programs that stores and retrieves employees information. The first program, called StoreInfo.java, asks the following information about each employee and stores them in a file called Employee.db: Employee First Name
Employee Last Name
Employee ID
Number of Years of Experience Every time the StoreInfo.java program is run, first it asks the user to enter the number of employees that their information are going to be added, then it asks the above information about each employee and append them to the end of the Employee.db file (The information about other employees that have been previously stored in the file should Not get lost). The second program, called RetrieveInfo.java. It uses the Employee.db file that the above program created. The RetrieveInfo.java asks the user to enter an Employees first name and then looks inside the Employee.db file to see if an employee with such a first name is stored in the file. If found, the program prints all the information that is saved about that employee; otherwise it prints No Employee was Found. Please submit three files as follows: 1- StoreInfo.java 2- RetrieveInfo.java 3- A sample of the Employee.db that you have created to test your programs. Please choose descriptive variable names in your programs and add documentation so that the users can understand how your programs work.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started