HOME      BLOG       FORUMS      CONTACT       ABOUT

Creates a StringBuffer from a String

Sunday, April 20th, 2008 Posted in java.lang | No Comments »

public class StringBufferExample { public static void main(String[] args) { StringBuffer buff = new StringBuffer("Hello World"); System.out.println(buff); } } Read more..

Creates a StringBuffer with an initial capacity

Sunday, April 20th, 2008 Posted in java.lang | No Comments »

public class StringBufferExample { public static void main(String[] args) { StringBuffer buff = new StringBuffer(100); System.out.println(buff); } } Read more..