Interviews2 answers
Can Exception handling we can handle multiple catch blocks?
2 Answers
You can but the Exception ex should be the last catch prior to be specific catch blocks like IndexOutOfRange exception etc.,
sathyamurthi periasamyPosted Aug 1, 2012, 7:17 AM EDT
yes.....
example
try
{
/// code
}
catch(Exception ex)
{
throw ex;
}
catch()
{
}
Ajitender VijayPosted Jul 30, 2012, 8:45 PM EDT
