char[] arr = { 'p'," ",'q', 'r', 's' }; String str = String.valueOf(arr); System.out.println(str);//"p qrs"