Looks like you're around. :)
To start...
char aChar = a.charAt(i);
"a" is an array of strings, so I believe that you will need to iterate over each element
char aChar = a[i].charAt(0);
and it also seems that you want to return the value of the changed variable, not the "a" that was originally passed in the variable.
System.out.print(aChar);
not
System.out.print(a);
Hope this helps.
source share