try :如果想要在method裡面捕捉例外,必須要可能發生例外的程式碼放到try block裡面,否則例外只能往外傳遞。 catch:catch block一定會跟在try block後面 ...
確定! 回上一頁