Which of the following keyword is used by a calling function to handle exception thrown by a called function?

Which of the following keyword is used by a calling function to handle exception thrown by a called function? Correct Answer catch

In Java, the “try” keyword is used in conjunction with the “catch” and/or “finally” blocks to handle exceptions. The “try” block contains the code that may potentially throw an exception. If an exception is thrown within the “try” block, it is caught and handled by the corresponding “catch” block.
Bissoy MCQ

Related Questions

If an exception is thrown and no catch block matches the type of the thrown parameter, then _____
If inner catch block is unable to handle the exception thrown then__________