Problem:
I am facing a problem to convert my string type array to an integer type array. Let’s say I have an array of string
String [] mystr = {"123", "234", "345", "456"};
and I want to cast my string to an integer type
String [] mystr = {123, 234, 345, 456};
I don’t know what do you say, or what is the proper term! I gave an example to describe it properly. So, let me put my question this way how Java converts string array to int array? Please, shed some light on this.
Thanks in advance.