English, asked by abcde7778, 1 year ago

what are exceptions used for in java?​

Answers

Answered by hruthik2222
1

Explanation:

io exception

arthimetic exception

and also we can create our own exception.


abcde7778: is there any option to send u the pic
hruthik2222: yeah uh can upload the pic
hruthik2222: as a qstn
abcde7778: but i need to send you
hruthik2222: insta ?
abcde7778: pavanpamarthi
abcde7778: sorry
abcde7778: pavankunarpamarthi216
abcde7778: kumar*
hruthik2222: ok
Answered by fgjjffgj
2

In Java, an exception is an object that wraps an error event that occurred within a method and contains:

Information about the error including its type.

The state of the program when the error occurred.

please mark as brainliest answer

Optionally, other custom information.

Similar questions