Ask Question
16 March, 15:48

Within the try clause of a try statement, you code a. all the statements of the program b. a block of statements that might cause an exception c. a block of the statements that are most likely to cause an exception d. only the statements that might cause an exception

+2
Answers (1)
  1. 16 March, 15:58
    0
    B) A block of statement that might cause an exception.

    Explanation:

    Exception handling is a good programming technique that prevents our program from crashing when an exception occurs during execution. The try clause is used with a catch to handle any exception that might occur, so whenever a statement that might cause an exception is to be used, this should be contained in a try statement block of code.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Within the try clause of a try statement, you code a. all the statements of the program b. a block of statements that might cause an ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers