Answers for "char array to list character java"

13

char array to string java

char[] a = {'h', 'e', 'l', 'l', 'o', ' ', 'w', 'o', 'r', 'l', 'd'};
String str = new String(a);
Posted by: Guest on June-15-2020
0

char array to arraylist java

myString.chars().mapToObj(c -> (char) c).collect(Collectors.toList());
Posted by: Guest on May-07-2020

Code answers related to "char array to list character java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language