My program contains this line:
char A= K.charAt(i);
But, when I executed this, I'm getting an error saying:
error: cannot find symbol
char A= K.charAt(i);
^
symbol: method charAt(int)
location: variable K of type String[]
What wrong did I do?