Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

Converting String Array to an Integer Array

int[] arr = Stream.of(new String[]{"1", "2", "3"})
                  .mapToInt(Integer::parseInt).toArray();
System.out.println(Arrays.toString(arr));
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Converting #String #Array #Integer #Array
ADD COMMENT
Topic
Name
4+8 =