Computer Science, asked by Hemsinh, 9 months ago

Which statement is used to test a block of code for errors?

Answers

Answered by rajputrajansingh2000
0

Explanation:

try statement

The try statement lets you test a block of code for errors. The catch statement lets you handle the error. The throw statement lets you create custom errors. The finally statement lets you execute code, after try and catch, regardless of the result.

Answered by sumansharma9402
3

Answer:

try statement

The try statement lets you test a block of code for errors. The catch statement lets you handle the error. The throw statement lets you create custom errors. The finally statement lets you execute code, after try and catch, regardless of the result.

Explanation:

please mark me as brainlist and follow me

Similar questions