1import java.util.Arrays;
2public class StringToIntegerArray {
3 public static void main(String args[]) {
4 String [] str = {"123", "345", "437", "894"};
5 int size = str.length;
6 int [] arr = new int [size];
7 for(int i=0; i<size; i++) {
8 arr[i] = Integer.parseInt(str[i]);
9 }
10 System.out.println(Arrays.toString(arr));
11 }
12}