Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 4 (Q.No. 14)
14.
Within parentheses, catch blocks can have _____
Discussion:
1 comments Page 1 of 1.
Lakshyajit handique said:
8 years ago
General form of an exception handling:
try
{
//block of code to monitor for errors
}
catch(ExceptionType exOb)
{
//exception handler for ExceptionType
}
//...
finally
{
//block of code to be executed after try block ends
}
try
{
//block of code to monitor for errors
}
catch(ExceptionType exOb)
{
//exception handler for ExceptionType
}
//...
finally
{
//block of code to be executed after try block ends
}
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers