Answers for "handling exceptions"

1

handling 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
1

handling 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