Pergunta de entrevista da empresa Sonata Software

when a method containing below code will result in try{ throws exp1}catch(Exception e){throws exp2} finally{return a}

Respostas da entrevista

Sigiloso

30 de dez. de 2011

Sorry, the code wouldn't compile. But if you mean throw new Exp1.....instead of throws, then your answer is right.

Sigiloso

26 de fev. de 2011

It will return value "a"