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
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
Get step-by-step solutions from verified subject matter experts
