1public class ArrayOfStrings {
2 public static void main(String args[]) {
3 String stringArray[] = {"Hello ", " how", " are", " you", " welcome", " to", " Tutorialspoint"};
4 StringBuffer sb = new StringBuffer();
5 for(int i = 0; i < stringArray.length; i++) {
6 sb.append(stringArray[i]);
7 }
8 String str = sb.toString();
9 System.out.println(str);
10 }
11}
1char[] charArray = new char[] {'b','u','z','z'};
2
3String answer = new String(charArray);