In Java, after executing the following code what are the values of x, y and z?
int x,y=10; z=12;
x=y++ + z++;
(A) x=22, y=10, z=12
(B) x=24, y=10, z=12
(C) x=24, y=11, z=13
(D) x=22, y=11, z=13
All Replies
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- You must be logged in to reply to this topic.