charAt - Returns the character from the string in Java

String: To store the Contents to use in the program.
length(): To find the total charcter in the given string.
chatAt(): Returns the Index Character from the String
Syntax:
AccessModifier char VariableName =StringVariable.charAt(int);
Example: 
public String a="forgercode";
int b=a.charAt(1);

import java.lang.*;
class ForgetCode
{
public static void main(String args[])
{
String forget="www.forgetcode.com";
System.out.println("A Syntax warehouse site:"+forget);
int a=forget.length();
System.out.println("Length of the string:"+a);
char f=forget.chatAt(5);
chat c=forget.chatAt(11);
System.out.println("Symbol of ForgetCode:"+f+c);

}
}