Should I put multiple statements in a try and then catch all possible exceptions, or should I put only one statement in the try statement?
Example:
you can use any of them.
but if using the first then you should catch the more specific exceptions.