下列常见的系统定义的异常中,编译时无法找到类的异常是()。A、Class Not Found ExceptionB、IOExceptionC、File Not Found ExceptionD、Unknown Host Exception

题目

下列常见的系统定义的异常中,编译时无法找到类的异常是()。

  • A、Class Not Found Exception
  • B、IOException
  • C、File Not Found Exception
  • D、Unknown Host Exception
如果没有搜索结果或未解决您的问题,请直接 联系老师 获取答案。
相似问题和答案

第1题:

What will a new Ezonexam router do during startup if a configuration file is not located in NVRAM?

A.It will search for the configuration file in the locations specified by boot system commands.

B.It will search for the configuration file in flash and if no configuration file is found there, it will enter the setup dialog.

C.It will search for the configuration file on a TFTP server and if no configuration file is found there, it will enter the setup dialog.

D.It will search for the configuration file in flash and if no configuration file is found there, it will load a limited configuration file from ROM.

E.It will search for the configuration file on a TFTP server and if no configuration file is found there, it will load a limited configuration file from ROM.


正确答案:C
解析:Explanation:WhenarouterbootsandisabletolocatetheIOSitbeginstoloadtheconfigurationfile.Theconfigurationfile,savedinNVRAM,isloadedintomainmemoryandexecutedonelineatatime.Theseconfigurationcommandsstartroutingprocesses,supplyaddressesforinterfaces,andsetmediacharacteristics.IfnoconfigurationfileexistsinNVRAM,therouterattemptsanetworkbootandsendsabroadcastrequestforthefileonaTFTPserver.Ifthisisalsonotfound,theoperatingsystemexecutesaquestion-driveninitialconfigurationroutinecalledthesystemconfigurationdialog.

第2题:

请问所有的异常类都继承下面的______类。

A.java.lang.Exception

B.java.lang.Throwable

C.java.io.Exception

D.java.lang.Error


正确答案:B

第3题:

下列常见的系统定义的异常中,() 是数组下标越界异常。

A.ArithmeticException

B.IOException

C.ArrayIndexOutOfBoundsException

D.NullPointerException


参考答案:C

第4题:

下列异常中,属于编译时异常的是()

A、NumberFormatException

B、ArithmeticException

C、Exception

D、RuntimeException


正确答案:C

第5题:

下列关于自定义异常的说法中错误的是()

A、自定义异常要继承Exception类

B、自定义异常继承Exception类后具有可抛性

C、自定义异常可以在构造方法中用super关键字传递异常信息给父类

D、自定义异常必须继承Error类


正确答案:D

第6题:

下列常见的系统定义的异常中,( )是输入、输出异常。

A.ClassNotFundException

B.IOException

C.FileNotFoundException

D.UnknownHostException


正确答案:B

第7题:

自定义的异常可从下列( )类继承。

A.Example

B.Exception及其子集

C.Class类

D.Object类


正确答案:B

第8题:

下列常见的系统定义的异常中,数组越界异常是( )。

A.ArrayIndexOutOfBoundsException

B.IOException

C.NullPointerException

D.ArithmeticException


正确答案:A
解析:在要求访问数组中非法元素时,引发数组索引越界异常ArrayIndexOutOfBoundsException。

第9题:

下列关于自定义异常的说法中,错误的是()

A、自定义异常要继承Exception

B、自定义异常继承Exception类后,具有可抛性

C、自定义异常可以在构造方法中用super关键字传递异常信息给父类

D、自定义异常必须继承Error


正确答案:D

第10题:

What will a router do during startup if a configuration file is not located in NVRAM?()

A. it will search for the configuration file in the locations specified by boot system commands.

B. it will search for the configuration file in flash and if no configuration file is found there, it will enter the setup dialog.

C. it will search for the configuration file on a TFTP server and if no configuration file is found there, it will enter the setup dialog.

D. it will search for the configuration file in flash and if no configuration file is found there, it will load a limited configuration file from ROM.

E. it will search for the configuration file on a TFTP server and if no configuration file is found there, it will load a limited configuration file from ROM.


参考答案:C

更多相关问题