I am in my first intro java course (please do not go advanced) but here is my assignment due 2/17 at 8am.
The goal is to write a program that will allow the user to enter data for many Persons.
Create a Person class (stored in [login to view URL] file).
A person will have a first name, middle name, last name, gender (M/F), birth year (4 digits).
It will also have a method to return the person in either the form
Last<tab>First<tab>Middle<tab>gender<tab>year
or in the form
First<tab>Middle<tab>Last<tab>gender<tab>year
Create a DataEntry class (stored in [login to view URL]). It will be a starting class (meaning it needs a main method).
The DataEntry class will repeatedly prompt the user for all the fields in a Person. The only optional field is the middle name. The others are required.
Each person entered will be added to a ArrayList of <Person>.
After each person is entered, ask the user if he/she has another person to enter. Yes can be "y" or "yes"; case insensitive. Similarly for "no". The data entry is finished when the user indicates he's done.
After all the data has been entered, output two lists to the screen. One where each person is displayed in the form:
Last<tab>First<tab>Middle<tab>Gender<tab>year
and in the second list, each line has the form:
First<tab>Middle<tab>Last<tab>Gender<tab>year
The ordering of the people does not matter.
Remember:
Use try/catch blocks to ensure the program does not quit due to an exception.
Hello dear. I am willing to do this task. Contact me and you don't have to worry about it. I'll be the one to do it for you. I am competitive enough with those top experts. Please send me the details of this task. I can give you a great and with high quality output. Just trust me and you will not regret in your choice of expert. Thanks
$20 USD dalam 0 hari
5.0 (1 ulasan)
1.4
1.4
4 pekerja bebas membida secara purata $23 USD untuk pekerjaan ini
Hey, Im a college student and I could do this program for you TONIGHT. Just give me the go ahead and I'll get it done for you. I'm new to freelance, but I some intro jobs to get some feed back on my profile. Let me know if you want this taken care of. Should only take me an hour or two
Thanks,
Collen