Java tutorial
public class MainClass { public static void main(String[] arg) { StringBuffer aString = new StringBuffer("ABCDE"); int length = aString.length(); System.out.println(length); } }