package Demo;
public class Demo3 { public static void main(String[] args) { String str = "helloworld"; System.out.println(str.charAt(0));//h System.out.println(str.charAt(5));//w }}