Discussion :: Exceptions - Pointing out the correct statements (Q.No.7)
|Dipali said: (Jun 14, 2015)|
|I think finally is not compulsory after try block. There should always be a catch block.|
|Dablu Gupta said: (Jul 26, 2015)|
|Try block is not mandatory to have catch block, it can have either catch or finally block subsequently.|
|Rick said: (Feb 22, 2016)|
|Perhaps reword the [D].
Implies to me that the finally block will begin executing at the same time as the try block which is not the case. Caught me out ;-).
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.