Pregunta de entrevista de Gong

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

Respuesta de la entrevista

Anónimo

31 de mar de 2021

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