+ 1
exeption finally
if i use finally then exeption not execute????? so confusion
3 Respuestas
+ 1
Finally block executes even if their is exception or no exception it is just used to display messages at the end of program
+ 3
finally just encloses code that executes regardless of whether or not an exception is thrown
+ 3
Finally statement always runs although error occur or not occur it does not depend upon error but remember that except statement only run if error is catch by try statement.