What happens if no catch handler matches the type of a thrown object?

What will be an ideal response?

This causes the search for a match to continue in the next enclosing try block if there is one. As this process continues, it might eventually be determined that there is no handler in the program that matches the type of the thrown object; in this case, terminate is called, which by default calls abort. An alternative terminate function can be provided as an argument to set_terminate.

Computer Science & Information Technology

You might also like to view...

You must use Scenario Manager to create a scenario

Indicate whether the statement is true or false

Computer Science & Information Technology

Includes addresses, subject and attachments

What will be an ideal response?

Computer Science & Information Technology