Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

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"
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #java #put #char #array #string
ADD COMMENT
Topic
Name
7+4 =