class Looper { public static void countE(){ String word = "tree"; for(int i = 0; i < word.length(); i++){ char c = word.charAt(i); System.out.println(c); } } }