Sample Exam 2

Problem 3b

For this problem, the project can be found in the folder SE2-3b.

The main program creates source files. The main program invokes a method (using this information) that you will have to write so that the main program works correctly.

Your method needs to read the file of strings and  find the second longest string that appears


Sample Output:
 

Sample Exam2 - Problem 3a

 Test 1
The second longest string, at 23 characters is "This is a longer string"

 Test 2
The second longest string, at 42 characters is "This string is probably the second longest"