下列程序从标准输入设备--键盘读入-个字符,然后输出到屏幕。要想完成此功能,画线处应该填入的语句为()。<img src='https://img2.soutiyun.com/ask/uploadfile/3750001-3753000/8571091ccd24be2bd024863128c28347.jpg' />

A.ch=System.in.read(); B.ch=(char)System.in.read(); C.ch=(char)System.in.readln(); D.ch=(int)System.in.read();

时间:2023-09-27 09:04:39

相似题目