I don't understand. Integer.toString(i) returns the string representing the integer 'i'. What is the error and what are you expecting?
Type: Posts; User: ChristopherLowe
I don't understand. Integer.toString(i) returns the string representing the integer 'i'. What is the error and what are you expecting?
Are you aware that your for loops only run once with the value 0? Also, for string equality tests use:
if (str.equals(str2))