Domanda di colloquio di Sonata Software

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

Risposte di colloquio

Anonimo

30 dic 2011

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

Anonimo

26 feb 2011

It will return value "a"