Question: Apply the repairs as specified in the feedback for project1. (1pt for each that is not fixed.) Create the original table as before with no

Apply the repairs as specified in the feedback for project1. (1pt for each that is not fixed.)

Create the original table as before with no change.

Still output the original table to the screen as before.

Do not output the masked table to the screen as before. The masked table will be output to the screen using the modifications as explained below.

After the results of the masked table is created ( or second table may not need to be created), you will write a separate method, off the main, to output the contents of the masked table to a file called masked.txt. The file will be opened as new clean output meaning it will not be opened as an appended file. The table should look like a table if the file is opened with a text editor with columns formatted and lined up properly. The file will then be closed (6pts)

As a separate method, off the main, in your program write code to open and input the table from the file masked.txt and output each line of input to the screen. (3pts)

Input and output are to have the necessary trap for exceptions as specified : input of # of rows and # of columns need to be validated as integer as well as handling file does not exist exception on open for input. (3pts)

Close the file once you are finished with it. (1pt)

You are to submit your java source code only. (Will not be graded otherwise.)

The following will continue to be applied to this and all future projects:

Name and date of project at beginning of project, (1pt)

Paragraph at beginning of the project and all modules used explaining what the segment is to do, For methods, include the @param, @return as well as description of any implicit parameters. (2pt)

Comments throughout your code explaining your procedures where necessary (1pt)

Use proper code etiquette. Indent blocks of code 3 to 5 spaces with code lining up. (1pt)

Declare all variables at beginning of a program module or block unless used just for a specific area i.e. a For Loop. (2pt)

Also make sure that open braces are not located at the end of a line of a block of code but instead is located on the next line at the beginning of the block of code and that close braces line up with their counter open braces, (2pt)

Use Descriptive Variable Names. (1pt)

Points will be deducted for typographical errors for output. (1pt)

Last line of output should not be on same line as program summary after program finishes. i.e. last output should include a line feed. (2pt)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!