Consider this code: “int v = 20; –v; System.out.println(v++);”. What value is printed, what value is v left with?

LANGUAGE: JAVA

CHALLENGE:

Consider this code: “int v = 20; –v; System.out.println(v++);”. What value is printed, what value is v left with?

SOLUTION:

s is 20 and t cannot be deterined

Posted in ,