injavaWrite a program that prompts the user to enter a file name and displays the occurrences of each letter in the console window and in a file. Letters are case insensitive. Use “USAconst.txt” for input and “letterCount.txt” for output. Here is a sample output: Enter file name: USAconst.txt The occurrence of A. s is 2675 The oc currence of B.s is 612 The occurrence of C’s is 1164 The occurrence ofD’S is 1230 The occurrence
OR
OR