作者:依然-狠幸福 | 来源:互联网 | 2023-10-15 12:31
Thisquestionalreadyhasananswerhere:这个问题在这里已有答案:Differencebetweenjava.lang.Runti
This question already has an answer here:
这个问题在这里已有答案:
- Difference between java.lang.RuntimeException and java.lang.Exception 12 answers
- java.lang.RuntimeException和java.lang.Exception之间的区别12答案
In Java, we have checked exceptions and unchecked exceptions. Also, we have runtime exceptions. My question is - Are all runtime exceptions unchecked exceptions and all unchecked exception are runime excepions? Means can these two words be used interchangeably?
在Java中,我们检查了异常和未经检查的异常。此外,我们有运行时异常。我的问题是 - 所有运行时异常都是未经检查的异常,所有未经检查的异常都是runime异常吗?这两个词可以互换使用吗?
1 个解决方案