length(..) method is used to find the length of a String.
Example :
public class Test{
public static void main(String[] arg){
String firstString = "Hello";
int length = firstString.length();
System.out.println("The length of the String is : "+length);
}
}