how to put array string in char 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"