java stream char to string code example
Example 1: char to string jva
char ch = 'a';
String.valueOf(ch);
Example 2: java char stream to string
Stream<Character> testStream = Stream.of('a', 'b', 'c');
String result = testStream.collect(Collector.of(
StringBuilder::new,
StringBuilder::append,
StringBuilder::append,
StringBuilder::toString));