Home Modern › Forums › ISRO › In Java, after executing the following code what are the values of x, y and z? int x,y=10; z=12; 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
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
nan