Syntax of try-catch
try
{
//code which throws some Exception
}
catch(XException xe)
{
} where X is type of exception.
In catch, we have to pass type of exception which is thrown by the code in...
Read More
Syntax of try-catch
try
{
//code which throws some Exception
}
catch(XException xe)
{
} where X is type of exception.
In catch, we have to pass type of exception which is thrown by the code in...
Read More
Get updates delivered right to your inbox!