Which statements about the exception handling mechanism are correct?

Which statements about the exception handling mechanism are correct?

 

a. When the catch section catches an exception, the finally section will be executed ( regardless of whether there is a fault or not )
b. When an exception occurs in the program in the try section, the program in the catch section will be executed
c. Regardless of whether the program occurs or not Errors and exceptions are caught, the finally part
d will be executed. The above are all

Answer: BC

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326543810&siteId=291194637