Question: Hello, this is for programming one with the java language. Im asking one question but this has two. Ive answered the first one but I

Hello, this is for programming one with the java language. Im asking one question but this has two. Ive answered the first one but I put it in here so that you can use it as a template in the second question.
Below is the one Ive already done, its taking an external file of 5 strings and we find which one is the minimum value. That one was easy, the finished code is below it. Please continue on to see actual question...
 Hello, this is for programming one with the java language. Im
asking one question but this has two. Ive answered the first one
but I put it in here so that you can use it
Now my actual question is below. We are to again take in a external file which I have named infile.dat which looks like...
as a template in the second question. Below is the one Ive
We are to assign it to a 3 by 3 matrix and if all the diagonals, columns, and rows all equal each other, then it is a magic square, in this case it is and they all equal 15. Below is the assignment and below that is my attempt using the template above. And below that is an error I keep getting, but I bet there is much more wrong with it than just that lol. Please get this to work using this simple kind of template for I dont know big things like the tokenizer, please keep it simple and in this template if possible so that I can understand it.
I know this is pretty hard for Im pretty much asking you to come down to my knowledge so if you do have to change things please use comments so I can follow and understand. Thank you soooooo very much!
already done, its taking an external file of 5 strings and we
find which one is the minimum value. That one was easy, the
finished code is below it. Please continue on to see actual question...
Now my actual question is below. We are to again take in

Summer Fun Coding Practice In Preparation For CSC 205 Completing a Program Using Class Methods, Arrays, and Strings Type in the program which follows and complete the body of the method FindMin so that it takes as input an array of size numItems of strings and returns to the calling function the minimum string. That is, the string that would appear first alphabetically. For example, consider the following sample input and output. Sample Input (from a user-created external text file States.dat) Georgia Florida North Carolina Tennessee Alabama Alabama Method FindMin is a value-returning class method so you'll need a return statement at the end of your method. Be sure and notice how this method is invoked in main. Also, notice how both methods in main actually send the array list off as a parameter, and then notice how this array parameter is defined in the headers for the two methods it is being sent to. In writing FindMin, remember that when you compare two string objects you must use the compareTo method rather than a

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!