下列程序中,若从键盘中输入的是大写字母C,则程序输出的结果是( )。 Importjava.io.*; publicclassExam publicstaticvoidmain(Stringargs[]) intch=0; System.out.println( 输入一个字符: ); try ch=System.in.read(); charch_A=’A’,ch_Z=’Z’; intdelta_c=(inoch_A+(int)ch_Z-ch; System.out.println( 编码后的字符为: +(char)delta_c); catch(IOExceptione) e.printStackTrace();
A.C
B.Y
C.X
D.字母C的ASCII码的整型值