Java - Write code to construct String by appending char array

Requirements

Write code to construct String by appending char array

Demo

//package com.book2s;

public class Main {
    public static void main(String[] argv) {
        char[] ch = new char[] { 'b', 'o', 'o', 'k', '2', 's', '.', 'c',
                'o', 'm', 'a', '1', };
        System.out.println(constructString(ch));
    }/*from ww w  .j av  a  2s .com*/

    public static String constructString(char[] ch) {
        String x = "";
        for (char c : ch) {
            x = x + Character.toString(c);
        }
        return x;
    }
}