Hi to everyone,
I have two doubts with the following question,
1. Just to be sure, in line 6 "y" doesn't have a default value (so its null), the only member variables which get a default value are primitives right?
2.
Test in line 14 should not print "1" in the first 3 iterations (i=0,1,2), so why the correct answer is C? Can you explain me please? I mean ^ is only true when only one of the tests is true, when i=0 then x=0, then x<2 true and x<10 true, so why does it gets printed?
Thanks in advance
Fernando