public void function() throws Exception{......} 當某個方法可能會丟擲某種異常時用於throws 宣告可能丟擲的異常,然後交給上層呼叫它的方法程式 ...
確定! 回上一頁