Lecture 23
16
Seeing characters in a String
•String s = “hello”;
•for (int i = 0; i < s.length(); i++){ char c = s.charAt(i);
•  // do whatever with c
•}