题目内容
(请给出正确答案)
[主观题]
下列程序从标准输入设备——键盘读入一个字符,然后输出到屏幕。要想完成此功能,画线处应该填人的语
句为()。 importjava.iO.*; public class Test { public static void main(String argsE]) { charch: try { ___; System.out.println(eh); } catch(IOException e) { e.printStackTrace: } } }
A. ch=System.in.read:
B.ch=(char)System.in.read:
C.ch=(char)System.in.readln:
D.ch=(int)System.in.read;
如搜索结果不匹配,请 联系老师 获取答案