java 8 int array to string code example
Example 1: converter int array para string java
int[] array = { 1, 2, 3, 4, 5 };
String s = String.join("", IntStream.of(array).mapToObj(String::valueOf).toArray(String[]::new));
System.out.println(s); // 12345
Example 2: array to string java
char[] charArray = new char[] {'b','u','z','z'};
String answer = new String(charArray);