A method catches an exception using a combination of the try and catch keywords. A try/catch block is placed around the code that might generate an exception.
確定! 回上一頁