Question: in java Constructor Summary Constructor and Description Person (String lastName, int zipCode) Constructs a new Person with the given last name and zipCode. Method Summary
in java 

Constructor Summary Constructor and Description Person (String lastName, int zipCode) Constructs a new Person with the given last name and zipCode. Method Summary Modifier and Type String Method and Description getLastName () Returns the last name for this person. getzip() Returns the zip code for this person as an integer. int A text file consists of lines that have a last name followed by a 5-digit zip code. A short sample of such a text file is shown below. Kautz 50010 Hansen 13244 Bono 01234 Write a static method that, given the name of a file having the format above, returns an ArrayList of Person objects, one for each line of the file. (The zip code is always the last 5 characters on each line. The name is always a single string without whitespace.) 4
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
