String str = "foot";
System.out.println(str.charAt(4));