Question: I do not understand at all how do do this. I have tried multiple times to do this problem with no success. Please help! Create
Create a new java console application in Intelli, and name it program6_FirstName LastName You need to create a file named Biolnfoln.dat, consisting of students' names and their date of birth in the following form: lastName firstName middleName mm/dd/vy. Write a program that converts each name to the following form: firstName middlelnitial lastName ageln2036 where "ageln2036 is how old the individual will be (in years) on 1/1/2036. Keep in mind that you do not know how many entries will be in the input file You are required to create a second class named Person. This class will have four member variables; one to hold first name, one to hold middle name, one to hold last name and one to hold the date of birth. This class should have two constructors. One should take no arguments and set the four member variables to default values. The second constructor should take four arguments and set the four member variables to the corresponding argument values. You will need to create get and set methods for the four member variables The class should also include the following methods in the class calculate2036Age()- should return an integer value that is the age of the individual in 2036 In the Main class, you will need to create an array (or ArrayList) of Person objects. Your program must consist of a method other than the main method, that will open the Biolnfoln.dat file and input all of the data from that file and store it in the array you created. You should have another method that will output the data to a file named BiolnfoOut.dat in the format described above Your program should output a message telling the user that the input from the Biolnfoln.dat file was successfully retrieved. This message should include the data taken in by your program from the input file. You should also output a message informing the user that the information has been converted as wel as the name of the output file Proper documentation is required for this assignment. You will be marked off if your program is not documented. You are also required to use the JFileChooser and the JOptionPane objects to handle all input, output, and file choosing. Turning in a file that does not compile will result in a grade no greater than 50%
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
