About Question com.enthuware.ets.scjp.v6.2.640 :
Posted: Sat Nov 03, 2012 6:29 pm
I think in the explanation here :
It will print "Forget It" because before the division could take place doIt() throws an exception.
or integer remainder % , then its execution may raise an ArithmeticException, but this exception is thrown only after both operands of the binary operator have been evaluated and only if these evaluations completed normally.
missed some words/sentences, would you please update it?
It will print "Forget It" because before the division could take place doIt() throws an exception.
or integer remainder % , then its execution may raise an ArithmeticException, but this exception is thrown only after both operands of the binary operator have been evaluated and only if these evaluations completed normally.
missed some words/sentences, would you please update it?