【计算机二级考试模拟题】2021年计算机二级《JAVA》章节习题及答案(6).docxVIP

  • 9
  • 0
  • 约1.84千字
  • 约 5页
  • 2021-10-23 发布于湖北
  • 举报

【计算机二级考试模拟题】2021年计算机二级《JAVA》章节习题及答案(6).docx

PAGE PAGE 1 【计算机二级考试模拟题】2021年计算机二级《JAVA》章节习题及答案(6)   第6章 异常和断言   1[单选题]哪个关键字可以抛出异常? (  )   A.transientB.finallyC.throwD.static   参考答案:C   2[单选题]给出一段程序,试判断哪个是正确的结果(  )   public class rtExcept{   public static void throwit(){   System.out.print(“throwit”);   throw new RuntimeException();   }

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档