Gong interview question

Q: How do you write a program that throws exceptions , but eventually returns a value , without catching the exception

Interview Answer

Anonymous

Mar 31, 2021

A: Use threads , and you can ignore the exception , the main program will continue