Define Exception handling? BCA-1ST semester.


 Exception handling definition:-

Exception is a drank time which grade during the exhibition of execution program. IT is also know as exceptional event for during. The output in Java language it is an abnormal condition which occur and create when the user run particular program in normal flow of program and exception can occur for many different condition that is.

condition of exception

1). A user has enter invalid data.

2). A file need to operate but cannot be found.

3). java virtual machine has run out of memory.

4). In proper data identify proper action but proper result can not be transfer.

keyword of exception handling:-

1). Try

2). catch

3). Through

4). final

exception handling divided in to two main sub class which depand on unnecessary condition create in Java program.

1). Input- output exception

2). Run time exception

No comments:

Post a Comment

If you have any doubts, Please lets me know and Please Follow our Website