/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; import java.util.stream.Collectors ; /* Name of the class has to be "Main" only if the class is public. */ class Ideone { { input.codePoints().toArray() ) ); StringBuilder sb = new StringBuilder() ; for( int codePoint : input.codePoints().toArray() ){ sb.appendCodePoint( codePoint ) ; } } } }
Standard input is empty
[97, 110, 0, 69, 120, 97, 109, 112, 108, 101] anExample [97, 110, 69, 120, 97, 109, 112, 108, 101] [a, n, E, x, a, m, p, l, e]