Question: Task 3: Read the Names From a File Create a text file called employees.txt in the same directory as your java files Add this to

Task 3: Read the Names From a File Create a text file called employees.txt in the same directory as your java files Add this to the contents: Dolores Dunn Sadie Lambert Ed Vega Kristin Rose Tommie Burns Devin Newman Norma Page Rafael Willis Esther James Matt Garcia Brendan Gilbert Gail Rowe Sabrina Hamilton Gwendolyn Harrison Mack Osborne Leon Moody Derek Carter Garrett Lowe Bridget Fox Donnie Hampton Clinton McLaugh Lin Tami Erickson Sonja Peterson Marian Lawrence In CompanySimulator.java, remove the field randomNames. In CompanySimulator.java, modify the method initCompany() to assign the names of the Employees from reading the file instead. The same rules as to who is a Software Manager vs Software Engineer, using the line numbers as an index. Recall that there may be some Exceptions you need to handle when reading from a file. You should test reading from files that do not exist as well. Task 4: On Your Own Ln 17, Col 4 Spaces: 2 UTF-8 LF Java O
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
