put a string in a char array java code example
Example: java put a char array into a string
char[] arr = { 'p'," ",'q', 'r', 's' };
String str = String.valueOf(arr);
System.out.println(str);//"p qrs"
char[] arr = { 'p'," ",'q', 'r', 's' };
String str = String.valueOf(arr);
System.out.println(str);//"p qrs"