single element of string array to integer array in java code example Example: work with arrays java new String[] { "A", "B"}