10. Can the following function throw any unhandled exception? void f1() _____ 11
ID: 3843383 • Letter: 1
Question
10. Can the following function throw any unhandled exception? void f1() _____
11. If the following function throws an unhandled exception, what happens? void f1() _____
12. If the following function throws an unhandled exception, what happens? void f1() throws() _____
13. If a function throw list specifies a base class type, then the function may also throw an exception of the _____ class type.
14. If some part of your program (or any library functions that are called) throw an exception, then if this exception is not handled in your code, your program will _____.
Explanation / Answer
10. No, there is no exception handling.
11. As we are not handling any unhandled exception the program will not show the exception details and program execution will get stopped
12. It will throw an exctpion with detailed infromation and the excution of program will be decided by how we are hadling the excpetion.
13. Derived class
14. program execution will get stopped.
Related Questions
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.