Domanda di colloquio di State Street

Why would you extend a Throwable? (Java)

Risposta di colloquio

Anonimo

14 dic 2017

It depends on whether you mean directly implementing the Throwable *interface*, or if you mean extending *a* Throwable. There are different semantics for each.