educational course/tutorialoutlet.com educational course/tutorialoutlet.com | Page 34

option is selected. f) The Iterative radio button is initially set to selected. f) The Iterative radio button is not initially set to selected. g) When the window is closed, the efficiency values computes with values of n from 0 to 19 and writes them to a file. h) Each line of the output file contains the value of n, the efficiency of the iterative method for that value of n and 3 g) When the window is closed, the efficiency values does not compute with values of n from 0 to 19 and the output file is not generated. h) Each line of the output file does not contain the value of n, the efficiency of the efficiency of the recursive method. i) The values of the output file are separated by commas so the file can be opened with Excel. j) Provides an event handler to handle the Compute button click and another handler will be needed to produce the file described above when the window is closed. The latter handler is an object of an inner class that extends the WindowAdapter class. Sequence Class Test Cases the iterative method for that value of n and the efficiency of the recursive method. i) The values of the output file are not separated by commas so that the file can