About Question com.enthuware.ets.scjp.v6.2.211 :
Posted: Sun Sep 23, 2012 12:21 pm
I'm not sure about the correct answer to this question. I think that the right answer should be the fourth, not the third. When class B is run it calls the overriden method getItDone(int countert), passing a -4 value. This method asserts if counter is less than 100. If the assertion is true (I think that -4 is less than 100
) the program enters an endless loop. But, the explanation to this question says that the loop is never entered, and the correct answer is the third.
Why?
Please, forgive my english, I'm not native.

Why?
Please, forgive my english, I'm not native.