간단한 예시 코드
public class SampleCharAt {
public static void main(String[] args) {
String str = "Hello";
System.out.println(str.charAt(0)); // H
System.out.println(str.charAt(1)); // e
System.out.println(str.charAt(2)); // l
}
}