Domanda di colloquio di Gong

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

Risposta di colloquio

Anonimo

31 mar 2021

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