下列常见的系统定义的异常中,编译时无法找到类的异常是()。
第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.
第2题:
请问所有的异常类都继承下面的______类。
A.java.lang.Exception
B.java.lang.Throwable
C.java.io.Exception
D.java.lang.Error
第3题:
A.ArithmeticException
B.IOException
C.ArrayIndexOutOfBoundsException
D.NullPointerException
第4题:
A、NumberFormatException
B、ArithmeticException
C、Exception
D、RuntimeException
第5题:
A、自定义异常要继承Exception类
B、自定义异常继承Exception类后具有可抛性
C、自定义异常可以在构造方法中用super关键字传递异常信息给父类
D、自定义异常必须继承Error类
第6题:
下列常见的系统定义的异常中,( )是输入、输出异常。
A.ClassNotFundException
B.IOException
C.FileNotFoundException
D.UnknownHostException
第7题:
自定义的异常可从下列( )类继承。
A.Example
B.Exception及其子集
C.Class类
D.Object类
第8题:
下列常见的系统定义的异常中,数组越界异常是( )。
A.ArrayIndexOutOfBoundsException
B.IOException
C.NullPointerException
D.ArithmeticException
第9题:
A、自定义异常要继承Exception
B、自定义异常继承Exception类后,具有可抛性
C、自定义异常可以在构造方法中用super关键字传递异常信息给父类
D、自定义异常必须继承Error
第10题:
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.