Exception type and handling

Exception type and handling

Checked exceptions and unchecked exceptions:
Unchecked exceptions refer to exceptions that can never be automatically detected before the machine runs, such as code that idea will not report red but may occur exceptions. Error class and RunTime class and their subclasses

Exception type and handling
finally use

Guess you like

Origin blog.csdn.net/qq_43907296/article/details/109514614
Recommended