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:
I would prefer using multiple statements in a try block and then catch all possible exceptions. Not sure why but I always do that while coding