Take FREE!! Online Mettl Mock Test to Crack TechM and Other Companies Written Exams.
Get Off-Campus Placement Jobs Info !!!
TCS NQT Technical and Managerial Round Interview Questions
Technical Discussion :: C++

115 / 184

Explain throwing mechanism briefly?

Answer:

When an exception that is desired to be handled is detected, it is thrown using throw statement in one of the following forms:
Throw(exception)
Throw exception;
Throw; // used for re-throwing an exception.

Asked In ::

Post Your Answer Here:


Rate This: +0 -0     
Report    

Post Your Reply Here:

Alert me
q4i-reply-your-answer

Report Error

Please Login First Click Here

Most Popular Qs.