Answers for "how do i connect a string value in array to an int in array java"

2

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
Posted by: Guest on April-29-2020

Code answers related to "how do i connect a string value in array to an int in array java"

Code answers related to "Java"

Java Answers by Framework

Browse Popular Code Answers by Language