如: public void function() throws Exception{......} 當某個方法可能會拋出某種異常時用於throws 聲明可能拋出的異常,然後交給上層調用它的方法 ...
確定! 回上一頁