How can we make sure that a code segment gets executed even in case of uncatched exceptions?
Question
How can we make sure that a code segment gets executed even in case of uncatched exceptions?
Answer
By putting it within finally.
š² Practice Offline on Mobile: Download the free QA Automation & SDET Prep app on Google Play & App Store.