Write a program as follows:(in Java) [Objective] The program reads from a text file and creates a report file as to frequency of each letter (alphabets only) contained in the text file. In the report file, the most frequently used letter with its frequency is displayed first. [Command Line Interface] The program is to be run from the DOS (command) prompt window as follows: java LetterFreq inputFile outputFile where LetterFreq is the java class name, inputFile is the name of any text file, and outputFile is the name of the report file. For example, if we type from the dos prompt window: java LetterFreq [login to view URL] [login to view URL] Then, the program reads [login to view URL] file, and creates [login to view URL] where letter frequency information about the [login to view URL] file is stored. The report file may look like: (Note that sorting is done based on the frequency) BE SURE TO USE sort method in Arrays class to do the sorting. E 19.5% S 8.1% T 7.5% ? Note that the program should inform the user if the command is not properly used. For example, both inputFilename and outputFilename should be provided at the dos prompt window. Also the program should handle all exceptions properly such as "file not found", "file cannot be created", etc. Hint for the command line arguments Suppose that you typed from the dos prompt window as follows java LetterFreq aaa bbb You can check at the main method what has been typed from the dos prompt window public static void main(String[] args) { [login to view URL]([login to view URL]); // 2 [login to view URL](args[0]); // aaa [login to view URL](args[1]); // bbb Be sure to give javadoc stylecomments.
## Deliverables
Complete and fully-functional working program(s) in executable form as well as complete source code of all work done. Complete copyrights to all work purchased.
## Platform
I use window Me, using textPad to compile and run Java program ( with Java software in the background)
## Deadline information
Please send the codes ontime