| Author |
Rules Roundup #108
|
Yuri Sforza
Greenhorn
Joined: Apr 15, 2002
Posts: 15
|
posted

0
|
Given x=y--; Which of these will be true AFTER execution? x == y x < y x > y
Supposed answer is x>y but what about the following: -- Y. Sforza
|
 |
Valentin Crettaz
Gold Digger
Sheriff
Joined: Aug 26, 2001
Posts: 7610
|
|
|
x will be -128 and y = 127, and thus, y > x would be the correct answer.
|
SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
|
 |
Yuri Sforza
Greenhorn
Joined: Apr 15, 2002
Posts: 15
|
posted

0
|
Yes, of course. This means that there is no correct answer (which is ALWAYS true) for the question #108. -- Y. Sforza
|
 |
 |
|
|
subject: Rules Roundup #108
|
|
|