Exception

No comments


Exception is a condition that is caused by a runtime error in the program. When the java interpreter encounter and error such as dividing and integer by 0, it create and exception an object and through it to the catch block and error message will be display for taking a corrective action. This task known’s as exception handling. It performs the following task –


1..Find the problem (Hit the exception).

2..Informed that and error and occur (through the exception).

3..Received the error information (catch the exception).

4..Take corrective action (handle the exception).

No comments :

Post a Comment

Subscribe

Milan Panda
Admin
About Me | Contact
Copyright 2023-2024 © Programming1011 . 🎀 Developed and Design By- Milan Panda. Happy Holi All Of You 🎀