Class FileMain

Object
FileMain

public class FileMain extends Object
This class serves as the "main" class which contains the starting point for your program.
  • Constructor Details

    • FileMain

      public FileMain()
  • Method Details

    • main

      public static void main(String[] args) throws IOException
      The main function which asks the user for which file they would like to use, the contents of the file are read and stored in an ArrayList. Then the user is asked the name of new file they would like to create, all functions apart of the FileOutput class are called. Depending upon where your implementation is at, a new file should be created that is the same name as your provided name. This file should store/log, the results of your three methods within FileOutput. Within this main function you can call logReverse(), logMax(), or logDuplicates() upon the FileOutput object for your own testing purposes.
      Parameters:
      args -
      Throws:
      IOException