Java tutorial
public class Main { public static void main(String[] args) { StringBuffer sb = new StringBuffer(); System.out.println(sb.capacity()); } }