1) Write a program (main() method) that reads, from the terminal (screen), sequence of names and postal (ZIP) codes for individuals. Store the data in an object designed to store a first name (String), last name (String), and postal code (int). Assume each line of input will contain two strings followed by an integer value, each separated by a tab character. Users will type "quit" when they have completed input entry. After all input is complete, print the output of the input values by the user to the screen. [Note:
1) create an object that will store the first name (String), last name (String), postal code (int)
2) use ArrayList to store object]
C:\Enter Input {first_namelast_name zip_code}:
Bill Smith 10002
Enter Input {first_namelast_name zip_code}:
Jane Dome 11354
Enter Input {first_namelast_name zip_code}:
-1
2) Revise #1 problem to read a list of inputs from a file. The input file will contain two strings followed by an integer.
Input file:
Bill Smith 10002
Jill Ryan 11120
Robert Johnson 11122
.
.
.