【单选题】【消耗次数:1】
下列描述了 Java 语言通过面相对象的方法进行异常处理的好处,请选出不在这些好处范 围之内的一项( )
把各种不同的异常事件进行分类,体现了良好的继承性
把错误处理代码从常规代码中分离出来
可以利用异常处理机制代替传统的控制流程
这种机制对具有动态运行特性的复杂程序提供了强有力的支持
参考答案:
复制
纠错
相关题目
【单选题】 自定义异常时,可以通过对下列哪一项进行继承?( )
①  Error 类
②  Applet 类
③  Exception 类及其子类
④  AssertionError 类
【判断题】 1.捕获异常try语句后面通常跟有一个或多个catch()方法用来处理try块内生成的异常事件。( )
①  正确
②  错误
【判断题】 String对象提供了对字符串进行处理的属性和方法。
①  正确
②  错误
【单选题】 Java语言具有许多优点和特点,哪个反映了Java程序并行机制的特点?( )
①  安全性
②  多线性
③  跨平台
④  可移植
【单选题】 下列代码中给出正确的在方法体内抛出异常的是( )
①  new throw Exception( );
②  throw new Exception( );
③  throws IOException();
④  throws IOException;
【单选题】 利用重结晶方法可以将()从二甲苯的三种异构体中分离出来。
①  对二甲苯
②  间二甲苯
③  邻二甲苯
④  乙苯
【单选题】 关于异常(Exception),下列描述不正确的是( )
①  异常的基类为Exception,所有异常都必须直接或者间接继承它
②  异常可以用try{ . . .}catch(Exception e){ . . .}来捕获并进行处理
③  如果某异常继承RuntimeException,则该异常可以不被声明
④  异常可以随便处理,而不是抛给外层的程序进行处理
【单选题】 以下对自定义异常描述正确的是( )
①  自定义异常必须继承Exception
②  自定义异常可以继承自Error
③  自定义异常可以更加明确定位异常出错的位置和给出详细出错信息
④  程序中已经提供了丰富的异常类,使用自定义异常没有意义
【单选题】 关于异常的含义,下列描述中最正确的一个是( )
①  程序编译错误
②  程序语法错误
③  程序自定义的异常事件
④  程序编译或运行时发生的异常事件
【单选题】 以下对异常的描述不正确的有( )
①  异常分为Error和Exception
②  Throwable是所有异常类的父类
③  Exception是所有异常类父类
④  Exception包括RuntimeException和RuntimeException之外的异常
随机题目
【单选题】 What are very commonly used teaching procedures and stages?
①  Presentation, practice and production
②  Pre-reading, while-reading and post-reading
③  Mechanical practice and meaningful practice
④  Both A and B.
【单选题】 What are the guidelines for writing teaching aims in a lesson plan?
①  Clear, brief
②  Specific, students-oriented
③  Specific, teacher-oriented
④  Both A and B.
【单选题】 What is discourse competence concerned with?
①  Appropriate use of the language in social context
②  Ability to create coherent written text or conversation and the ability to understand them
③  Strategies one employs when there is communication breakdown due to lack of resources
④  Knowledge of language itself, its form and meaning.
【单选题】 What is strategic competence concerned with?
①  Appropriate use of the language in social context
②  Ability to create coherent written text or conversation and the ability to understand them
③  Strategies one employs when there is communication breakdown due to lack of resources
④  Knowledge of language itself, its form and meaning.
【单选题】 What are the five components of communicative competence?
①  Linguistic competence, pragmatic competence, discourse competence, strategic competence and fluency
②  Linguistic competence, pragmatic competence, discourse competence, strategic competence and accuracy
③  grammar competence, pragmatic competence, discourse competence, strategic competence and fluency
④  grammar competence, pragmatic competence, discourse competence, strategic competence and accuracy.
【单选题】 What are the principles of communicative language teaching?
①  Communication principle, task principle and meaningful principle
②  Communication principle, accuracy principle and meaningful principle
③  Communication principle, fluency principle and meaningful principle
④  Communication principle, task principle and purpose principle.
【单选题】 What are the listening and speaking activities in traditional pedagogy?
①  A. Listen to texts either read by the teacher or pre-recorded on the tape; repeat what is heard
②  Answer the questions according to what is heard; produce responses based on given clues
③  Retell what is heard
④  All of the above.
【单选题】 What is fluency competence concerned with?
①  Appropriate use of the language in social context
②  Ability to link units of speech together with facility and without strain or inappropriate slowness or undue hesitation
③  Strategies one employs when there is communication breakdown due to lack of resources
④  Knowledge of language itself, its form and meaning.
【单选题】 What is linguistic competence concerned with?
①  Appropriate use of the language in social context
②  Ability to create coherent written text or conversation and the ability to understand them
③  Strategies one employs when there is communication breakdown due to lack of resources
④  Knowledge of language itself, its form and meaning.
【单选题】 What is the possible solution to bridge the gap between classroom language teaching and real-life language use?
①  Task-based teaching and learning
②  Communicative language teaching
③  Presentation, practice and production
④  Engage
⑤  study
⑥  activate.