How can I convert a String array into an int array in java?
I am reading a stream of integer characters into a String array from the console, with
BufferedReader br = new BufferedReader (new InputStreamReader(System.in));
for(c=0;c<str.length;c++)
str[c] = br.readLine();
where str[] is String typed.
I want to compare the str[] contents ... which can't be performed on chars (the error)
And hence I want to read int from the console. Is this possible?