下列程序中,若从键盘中输入的是大写字母C,则程序输出的结果是
import java.io.*;
public class Exam
public static void main(String args[])
int ch=0;
System.out.println("输入一个字符:");
try
ch=System.in.read();
char ch_A=’A’,ch_Z=’Z’;
int delta_c=(int)ch_A+(int)ch_Z-ch;
System.out.println("编码后的字符为:"+(char)delta_c);
catch(IOException e)
e.printStackTrace();
A.C
B.Y
C.X
D.字母C的ASCII码的整型值