OneCompiler

PracticeArrayTwo

125

import java.util.Date;

public class PracticeArrayTwo {
public static void main(String[] args) {

String name="jayanthi ganesh";
char ch=name.charAt(0);//returns the char value at the 4th index
System.out.println(ch);
}
}