Catch and finally | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Catch and finally

if the catch section is executed. will it execute finally section?

6th May 2018, 6:47 PM
TightEnd
TightEnd - avatar
1 Answer
+ 1
finally block will ALWAYS gets execute. And by ALWAYS i meant, "ALWAYS"!
6th May 2018, 6:56 PM
Harjeet Singh
Harjeet Singh - avatar