1 public class CountLetterInArray { 2 public static void main(String[] args) { 3 char[] chars = createArray(); 4 5 System.out.println("The lowercase letters are: "); 6 displayArray(chars); 7 8 int[] counts = countLetters(chars); 9 10 System.out.println(" ");11 System.out.println("The occurrences of each letter are: ");12 displayCounts(counts);13 }14 15 public static char[] createArray() {16 char[] chars = new char[100];17 for(int i=0; i