What is the correct syntax of the try-catch block?
A.
try
{
// programable codes.....
}
catch(Exceptions)
{
// Code for handling exceptions....
}
B.
try()
{
// programable codes.....
}
catch(Exceptions)
{
// Code for handling exceptions....
}
C.
try
{
// programable codes.....
}
catch
{
// Code for handling exceptions....
}
D.
try()
{
// programable codes.....
}
catch
{
// Code for handling exceptions....
}
A.
try
{
// programable codes.....
}
catch(Exceptions)
{
// Code for handling exceptions....
}
B.
try()
{
// programable codes.....
}
catch(Exceptions)
{
// Code for handling exceptions....
}
C.
try
{
// programable codes.....
}
catch
{
// Code for handling exceptions....
}
D.
try()
{
// programable codes.....
}
catch
{
// Code for handling exceptions....
}