Sail E0 Webinar
Question

What is the use of the 'finally' keyword?


Options:
A .  It used to execute at the starting of the program
B .  It will be executed at the end of the program even if the exception arised.
C .  Both a & b
D .  none of the mentioned
Answer: Option B

finally keyword will be executed at the end of all the exception.


Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

More Questions on This Topic :

Latest Videos

Latest Test Papers