[求助]这个程序错在那里?
//判断输入的字符是否是字母import java.io.*;
public class HelloWorldClass
{
public static void main(String[] args)
{
new HelloWorldClass().output();
}
public HelloWorldClass(){ }
public void output()
{
Input myinput=new Input();
char c=myinput.getThechar();
if(c>=65&c<=90||c>=97&c<=122)
System.out.println("It is a letter. The letter is :"+c);
else
System.out.println("It is not a letter :");
}
class Input
{ public char getTheChar()
{
char c=0;
System.out.println("Enter a character :");
try{
c=(char) System.out.read();
}catch(IOException(e){};