Which are the two blocks that are used to check error and handle the error?
Which are the two blocks that are used to check error and handle the error? Correct Answer Try and catch
Two blocks that are used to check for errors and to handle the errors are try and catch block. The code which might produce some exceptions is placed inside the try block and then the catch block is written to catch the error that is produced. The error message or any other processing can be done in catch block if the error is produced.
মোঃ আরিফুল ইসলাম
Feb 20, 2025