adspace


Explain how an exception handler is defined and invoked in a Program.

Answer Posted / Rahul Kumar Singh

An exception handler is defined using try, catch, and throw keywords. A try block contains the code that may throw exceptions. One or more catch blocks follow the try block and handle the exceptions of specific types. The throw keyword is used to generate an exception.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the latest version on c++?

1208


How c functions prevents rework and therefore saves the programers time as wel as length of the code ?

1165


Can union be self referenced?

1267


daily Routine of father

1485


What character terminates all character array strings a) b) . c) END

1395