Help please
getting the following error:
Object of type class java.lang.String cannot be used as an array
from following code: