The type of the expression must be an array type but it resolved to int

its not working. Error message: "Type mismatch, “java.lang.String” does ot match with “java.lang.String[]”