You have referred arrayStr[i] instead of arraylistStr[i]. So, compiler is saying spelling mistake.

Second thing before using collections/array/anything, first go through the usage, its syntax.
1....