Question d’entretien chez Sonata Software

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

Réponses aux questions d'entretien

Utilisateur anonyme

30 déc. 2011

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

Utilisateur anonyme

26 févr. 2011

It will return value "a"