Throwing Exceptions · To throw an exception, you use the throw keyword: throw new TooColdException(); · The JVM or Java APIs can throw exceptions as well · Here's ...
確定! 回上一頁