Create an Eclipse Java project that reads in the names and postal (Zip) code data for individuals from the attached "employee-2.txt Download employee-2.txt" file (note: you need to add the text file with the exact file name to the root "project folder" of your Eclipse Java project, not the "src" folder). In the attached text file, edit the last row manually to add your own First Name, Last Name and Zip code. Your project should read in the employee data provided in the text file and store the data into a LinkedList data structure, for which, you need to write a Java class named "Employee.java" that defines a first name (type String), a last name (type String), a postal code (type int or String), an Employee "constructor" and a toString() method. You may optionally define "setters" and "getters" methods in the "Employee.java" class. You should write a separate driver class named "EmployeeListDriver.java" to implement the main() method, the main() method is where you should create the LinkedList and all related operations. Your project should have the following two Java files in the "src" folder, and the given text file inside the root (project) folder. Employee.java EmployeeListDriver.java In the attached text file, each line contains two strings followed by an integer value, each separated by a tab character. Each line of data in the attached text file should be read in to "construct" an Employee object as defined in your Java class "Employee.java", each constructed Employee object should then be added to the LinkedList. After all the data from the text file have been read in and stored in LinkedList object, re-access the LinkedList<> to print all the Employee object's First Name, Last Name and Zip Code in an appropriate format on the screen.
Create an Eclipse Java project that reads in the names and postal (Zip) code data for individuals from the attached "employee-2.txt Download employee-2.txt" file (note: you need to add the text file with the exact file name to the root "project folder" of your Eclipse Java project, not the "src" folder). In the attached text file, edit the last row manually to add your own First Name, Last Name and Zip code.
Your project should read in the employee data provided in the text file and store the data into a LinkedList<Employee> data structure, for which, you need to write a Java class named "Employee.java" that defines a first name (type String), a last name (type String), a postal code (type int or String), an Employee "constructor" and a toString() method. You may optionally define "setters" and "getters" methods in the "Employee.java" class.
You should write a separate driver class named "EmployeeListDriver.java" to implement the main() method, the main() method is where you should create the LinkedList<Employee> and all related operations.
Your project should have the following two Java files in the "src" folder, and the given text file inside the root (project) folder.
- Employee.java
- EmployeeListDriver.java
In the attached text file, each line contains two strings followed by an integer value, each separated by a tab character. Each line of data in the attached text file should be read in to "construct" an Employee object as defined in your Java class "Employee.java", each constructed Employee object should then be added to the LinkedList<Employee>. After all the data from the text file have been read in and stored in LinkedList<Employee> object, re-access the LinkedList<> to print all the Employee object's First Name, Last Name and Zip Code in an appropriate format on the screen.
![Here is the transcribed information from the image:
```
Kent Brockman 12345
Charles Burns 24923
Cletus Delroy 25394
Ned Flanders 04382
Seymour Skinner 45234
Homer Simpson 62352
Milhouse Vance 52352
Nelson Muntz 63265
Edna Krabapple 72353
Jimbo Jones 10234
Martin Prince 02532
Patty Bouvier 23252
Troy McClure 32522
Marvin Monroe 10028
Waylon Smithers 80214
Moe Szyslak 13095
Clancy Wiggum 23052
John Frink 20625
Barney Gumbel 11321
Julias Hibbert 13359
Lionel Hutz 21952
Helen Smith 19202
Bill Clinton 79872
Alexander Hamilton 92321
John Wynne 23421
YourFirstName YourLastName YourZipCode
```
This list contains names paired with corresponding numbers, which appear to resemble identification numbers such as ZIP codes. At the end of the list, placeholders are provided for "YourFirstName," "YourLastName," and "YourZipCode."](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F33367630-baef-4794-a3c7-3f7d1dfa9a18%2F9271baf6-a6fe-4ca2-8200-a688232ec7e7%2Feo8f6jl_processed.png&w=3840&q=75)
![**Creating an Eclipse Java Project for Employee Data Management**
**Objective:**
Develop a Java project that reads names and postal (Zip) code data for individuals from an attached text file named "employee-2.txt". The project will use Eclipse as the development environment.
**Instructions:**
1. **File Setup:**
- Place the text file "employee-2.txt" in the root "project folder" of your Eclipse Java project (do not place it in the "src" folder).
- Edit the last row of the text file to include your own First Name, Last Name, and Zip code.
2. **Java Class Implementation:**
- **Employee.java:**
- Create a Java class named `Employee.java`.
- Define the following attributes:
- First Name (String)
- Last Name (String)
- Postal Code (int or String)
- Implement a constructor to initialize these attributes.
- Implement a `toString()` method.
- Optionally, define setter and getter methods for each attribute.
3. **Driver Class Implementation:**
- **EmployeeListDriver.java:**
- Create a separate driver class named `EmployeeListDriver.java`.
- Implement the `main()` method where the program will execute.
- Initialize and manage the `LinkedList<Employee>` to store and manipulate employee data.
4. **Project Structure:**
- Your project should contain two Java files in the "src" folder:
1. Employee.java
2. EmployeeListDriver.java
- Ensure the text file is inside the root (project) folder.
5. **Data Handling:**
- Each line in the attached text file includes two strings and an integer value, separated by a tab character.
- Read each line into the Java program to "construct" an `Employee` object using the format defined in `Employee.java`.
- Add each constructed `Employee` object to the `LinkedList<Employee>`.
- Once all data is read and stored, use the `LinkedList` to display each Employee object's First Name, Last Name, and Zip Code in a formatted manner on the screen.](/v2/_next/image?url=https%3A%2F%2Fcontent.bartleby.com%2Fqna-images%2Fquestion%2F33367630-baef-4794-a3c7-3f7d1dfa9a18%2F9271baf6-a6fe-4ca2-8200-a688232ec7e7%2Frp1o13_processed.png&w=3840&q=75)
![](/static/compass_v2/shared-icons/check-mark.png)
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
![Blurred answer](/static/compass_v2/solution-images/blurred-answer.jpg)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Computer Networking: A Top-Down Approach (7th Edi…](https://www.bartleby.com/isbn_cover_images/9780133594140/9780133594140_smallCoverImage.gif)
![Computer Organization and Design MIPS Edition, Fi…](https://www.bartleby.com/isbn_cover_images/9780124077263/9780124077263_smallCoverImage.gif)
![Network+ Guide to Networks (MindTap Course List)](https://www.bartleby.com/isbn_cover_images/9781337569330/9781337569330_smallCoverImage.gif)
![Concepts of Database Management](https://www.bartleby.com/isbn_cover_images/9781337093422/9781337093422_smallCoverImage.gif)
![Prelude to Programming](https://www.bartleby.com/isbn_cover_images/9780133750423/9780133750423_smallCoverImage.jpg)
![Sc Business Data Communications and Networking, T…](https://www.bartleby.com/isbn_cover_images/9781119368830/9781119368830_smallCoverImage.gif)