Computer Science, asked by ashwani171, 1 year ago

what is try and catch block

Answers

Answered by haris113
3
Try block. The try block contains set of statements where an exception can occur. A try block is always followed by a catch block, which handles the exception that occurs in associated try block. A try block must be followed by catch blocks or finally block or both.
Similar questions