Java tutorial
public class Main { public static void main(String[] arg) { StringBuffer buffer = new StringBuffer(); char[] chars = new char[] { 'j', 'a', 'v', 'a', '2', 's', '.', 'c', 'o', 'm' }; buffer.append(chars); System.out.println(buffer); } }