📌  相关文章
📜  我们可以使用 catch 语句来检查异常吗?无论代码示例

📅  最后修改于: 2022-03-11 14:57:26.185000             🧑  作者: Mango

代码示例1
If there is no chance of raising an exception in our code then we can’t 
declare catch block for handling checked exceptions. This raises compile time 
error if we try to handle checked exceptions when there is no possibility 
of causing exception.