Will a java exception terminate the whole java application?

后端 未结 5 2034
闹比i
闹比i 2021-02-04 10:19

I used to think that when an exception happened, the whole java application will be terminated. For example, I write a test function to test my idea.

public void         


        
5条回答
  •  谎友^
    谎友^ (楼主)
    2021-02-04 10:30

    No. Exception handlers of java handles the abnormal execution of the program

提交回复
热议问题