Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

char array to string java

char[] a = {'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'};
String str = new String(a);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #char #array #string #java
ADD COMMENT
Topic
Name
6+4 =