About Question enthuware.ocajp.i.v7.2.848 :
Posted: Sun Jan 20, 2013 4:36 am
Question 15 of 45 in the very easy test.
I am just a bit confused. The answer says to decrement the value k and then compare.
As k = 2, if you decrement the value of k, does it not become 1 and then you compare.
I just dont understand why the answer is not just 1. I do not get why 2 is in the answer if we decremented k before comparison.
Sorry I am probably missing something very basic here.
I am just a bit confused. The answer says to decrement the value k and then compare.
As k = 2, if you decrement the value of k, does it not become 1 and then you compare.
I just dont understand why the answer is not just 1. I do not get why 2 is in the answer if we decremented k before comparison.
Sorry I am probably missing something very basic here.