Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

arrays.sum

int sum = Arrays.stream("1 2 3 4".split("s+")).mapToInt(Integer::parseInt).sum();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged:
ADD COMMENT
Topic
Name
8+5 =