I\'m trying to use the char method isLetter(), which is supposed to return boolean value corresponding to whether the character is a letter. But when I call the
I guess ch is a declared as char. Since char is a primitive data type and not and object, you can't call any methof from it. You should use Character.isLetter(ch).