.charAt()
String str = new String(); char c = ' '; str = "안녕하세요"; c = str.charAt(0); System.out.println(c); //결과값 : '안'