charValue method is not working? Char cannot be dereferenced?

Printable View