15 异常处理
15-
判断题
1.If you are not interested in the contents of an exception object, the catch block parameter may be omitted.(T)
如果您对异常对象的内容不感兴趣,可以省略catch block参数。
2.catch (type p) acts very much like a parameter in a function. Once the exception is caught, you can access the thrown value from this parameter in the body of a catch block.(T)
catch(类型p)的作用非常类似于函数中的参数。一旦捕获到异常,就可以从catch块体中的此参数访问抛出的值
单选题
1.One of the major features in C++ is ( ) handling,which is a better way of handling errors.(D)
A.data
B.pointer
C.test
D.exception
2.What is wrong in th