When is a char not a char? When it's a String! When anything is enclosed in double quotes (""), it becomes a String. If a char is needed, single quotes are needed instead.
char a='a'; char in single quotes, OK. char b="b"; gives error: Incompatible type for declaration. Can't convert java.lang.String to char.