JoAnn
0
Q:

java reduce array

Arrays.stream(array).reduce((str1, str2) -> str1 + str2);
2

New to Communities?

Join the community