public class Jpro2_4
{
public static void main (String args[])
{
char ch=' ';
System.out.println("Input a interger or character:");
try
{
ch=(char)System.in.read(); //从硬盘中读入一个字符
}
catch (IOException e)
{
}
System.out.println("The input is \' "+ch+"\' ");
}
}
拿出错了啊?
慕妹3146593
噜噜哒
相关分类