Answers for "how to add exceptions"

1

how to handle exceptions

I use try & catch & finally block
to handle exception if I will use the method
in different class.

Or If I will use it only once and if it is checked
exception then I use THROWS keyword on method signature
Posted by: Guest on January-05-2021

Browse Popular Code Answers by Language