Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
私は try ステートメントでいくつかのコードを書きましたが、デバッグ中にコードは正常に動作しています。しかし、try ステートメントの後、制御は catch ステートメントに移動し、Null Pointer Exception がスローされます。コードは次のとおりです。