Exemplo n.º 1
0
 def run(self):
     '''
     Executes the successfully compiled java program, and if the program has any
     output, it will remove the change to the main method so that the same output
     doesn't happen on any subsequent additions to the main method.
     '''
     if Util.run_java([MAIN_FILE]) == True:
         self.main_input.pop()