Woah, wait a minute! What if the MyException constructor throws an exception? Then we might get a compile-time error. I better double-check the code before answering.
Hmm, this looks like an interesting exception handling scenario. Let's see, the MyException class is extending RuntimeException, so it should be unchecked. The Test class is throwing a new instance of MyException, so I think the answer is either A or B.
Weldon
1 months agoDesire
16 days agoNan
19 days agoLonny
21 days agoGlennis
1 months agoPaulina
18 days agoAdolph
20 days agoKathrine
26 days agoKimbery
2 months agoJohnna
9 days agoCora
12 days agoKanisha
15 days agoVeta
2 months agoFelton
2 months agoMarcelle
2 months agoFlorinda
2 months ago