Exceptions Aren’t Always ErrorsFileCountLetters.java contains a program that reads a word from theuser and prints the number of occurrences of each letter in theword. In reviewing the code, note that the word is converted to allupper case first, then each letter is translated to a number in therange 0.25 (by subtracting ‘A’ or decimal 65) for use as an index.See Appendix C for the Unicode character set.1.RunCountLettersandenteraphrase,thatis,morethanonewordwithspacesorotherpunctuation in between. It should throw anArrayIndexOutOfBoundsException, because a non-letter will generatean index that is not between 0 and 25. It might be desirable toallow non-letter characters, but not count them. Of course, youcould
PayPal Gateway not configured
PayPal Gateway not configured