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