Catch and finally | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
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 Réponse
+ 1
finally block will ALWAYS gets execute. And by ALWAYS i meant, "ALWAYS"!
6th May 2018, 6:56 PM
Harjeet Singh
Harjeet Singh - avatar