Core Java Interview Questions :Can we have the try block without catch
block?
Yes, we can have the try block without catch block, but finally block should follow the try block.:Yes It is possible to write a try without catch block, By using the finally block next to the try block
No comments:
Post a Comment