多做题,通过考试没问题!

Java认证考试

睦霖题库>其他计算机考试>Java认证考试

The 8859-1 character code for the uppercase letter A is 65. Which of these code fragments declare and initialize a variable of type char with this value?()  

  • A、char ch = 65;
  • B、char ch = ’¥65’;
  • C、char ch = ’¥0041’;
  • D、char ch = ’A’;
  • E、char ch = "A";
正确答案:A,D
答案解析:
进入题库查看解析

微信扫一扫手机做题